Re: [PATCH 1/2] gpio: axp209: use correct register for GPIO input status

2016-11-23 Thread Chen-Yu Tsai
On Wed, Nov 23, 2016 at 9:45 PM, Thomas Petazzoni wrote: > Hello, > > On Wed, 23 Nov 2016 14:27:48 +0100, Quentin Schulz wrote: >> The GPIO input status was read from control register >> (AXP20X_GPIO[210]_CTRL) instead of status register (AXP20X_GPIO20_SS). >>

Re: [PATCH 1/2] gpio: axp209: use correct register for GPIO input status

2016-11-23 Thread Chen-Yu Tsai
On Wed, Nov 23, 2016 at 9:45 PM, Thomas Petazzoni wrote: > Hello, > > On Wed, 23 Nov 2016 14:27:48 +0100, Quentin Schulz wrote: >> The GPIO input status was read from control register >> (AXP20X_GPIO[210]_CTRL) instead of status register (AXP20X_GPIO20_SS). >> >> Signed-off-by: Quentin Schulz >

Re: [PATCH 1/2] gpio: axp209: use correct register for GPIO input status

2016-11-23 Thread Thomas Petazzoni
Hello, On Wed, 23 Nov 2016 14:27:48 +0100, Quentin Schulz wrote: > The GPIO input status was read from control register > (AXP20X_GPIO[210]_CTRL) instead of status register (AXP20X_GPIO20_SS). > > Signed-off-by: Quentin Schulz This smells like a bug fix, so

Re: [PATCH 1/2] gpio: axp209: use correct register for GPIO input status

2016-11-23 Thread Thomas Petazzoni
Hello, On Wed, 23 Nov 2016 14:27:48 +0100, Quentin Schulz wrote: > The GPIO input status was read from control register > (AXP20X_GPIO[210]_CTRL) instead of status register (AXP20X_GPIO20_SS). > > Signed-off-by: Quentin Schulz This smells like a bug fix, so perhaps Cc: stable? Thomas --

[PATCH 1/2] gpio: axp209: use correct register for GPIO input status

2016-11-23 Thread Quentin Schulz
The GPIO input status was read from control register (AXP20X_GPIO[210]_CTRL) instead of status register (AXP20X_GPIO20_SS). Signed-off-by: Quentin Schulz --- drivers/gpio/gpio-axp209.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH 1/2] gpio: axp209: use correct register for GPIO input status

2016-11-23 Thread Quentin Schulz
The GPIO input status was read from control register (AXP20X_GPIO[210]_CTRL) instead of status register (AXP20X_GPIO20_SS). Signed-off-by: Quentin Schulz --- drivers/gpio/gpio-axp209.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-axp209.c