Re: [PATCH] gpio: gpio-amd-fch: Correct logic of GPIO_LINE_DIRECTION

2020-09-28 Thread Bartosz Golaszewski
On Mon, Sep 28, 2020 at 11:45 AM Ed Wildgoose wrote: > > The original commit appears to have the logic reversed in > amd_fch_gpio_get_direction. Also confirmed by observing the value of > "direction" in the sys tree. > > Signed-off-by: Ed Wildgoose > Fixes: e09d168f13f0 ("gpio: AMD G-Series PCH g

[PATCH] gpio: gpio-amd-fch: Correct logic of GPIO_LINE_DIRECTION

2020-09-28 Thread Ed Wildgoose
The original commit appears to have the logic reversed in amd_fch_gpio_get_direction. Also confirmed by observing the value of "direction" in the sys tree. Signed-off-by: Ed Wildgoose Fixes: e09d168f13f0 ("gpio: AMD G-Series PCH gpio driver") --- drivers/gpio/gpio-amd-fch.c | 2 +- 1 file change

Re: [PATCH] gpio: gpio-amd-fch: Correct logic of GPIO_LINE_DIRECTION

2020-09-24 Thread Bartosz Golaszewski
On Sun, Sep 20, 2020 at 10:34 PM Ed Wildgoose wrote: > > The original commit appears to have the logic reversed in > amd_fch_gpio_get_direction. Also confirmed by observing the value of > "direction" in the sys tree. > > Signed-off-by: Ed Wildgoose > --- > drivers/gpio/gpio-amd-fch.c | 2 +- > 1

[PATCH] gpio: gpio-amd-fch: Correct logic of GPIO_LINE_DIRECTION

2020-09-20 Thread Ed Wildgoose
The original commit appears to have the logic reversed in amd_fch_gpio_get_direction. Also confirmed by observing the value of "direction" in the sys tree. Signed-off-by: Ed Wildgoose --- drivers/gpio/gpio-amd-fch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio