Re: [PATCH v6 05/10] gpio: exar: Fix reading of directions and values

2017-06-20 Thread Linus Walleij
On Fri, Jun 9, 2017 at 8:33 PM, Jan Kiszka wrote: > First, the logic for translating a register bit to the return code of > exar_get_direction and exar_get_value were wrong. And second, there was > a flip regarding the register bank in exar_get_direction. > > Signed-off-by: Jan Kiszka > Reviewed

[PATCH v6 05/10] gpio: exar: Fix reading of directions and values

2017-06-09 Thread Jan Kiszka
First, the logic for translating a register bit to the return code of exar_get_direction and exar_get_value were wrong. And second, there was a flip regarding the register bank in exar_get_direction. Signed-off-by: Jan Kiszka Reviewed-by: Andy Shevchenko Acked-by: Linus Walleij --- drivers/gpi