summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-vr41xx.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2017-06-09 21:33:13 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-06-20 11:16:23 +0300
commit7f45a875da46a112f781c25cfa9bcb93aaed4712 (patch)
treee6d845a32b18bbdb3b74ff6e9c8d102f2a75354f /drivers/gpio/gpio-vr41xx.c
parent5dab5872e59390aa9cca26ee629b95f7179f6c77 (diff)
downloadlinux-7f45a875da46a112f781c25cfa9bcb93aaed4712.tar.xz
gpio: exar: Fix reading of directions and values
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 <jan.kiszka@siemens.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-vr41xx.c')
0 files changed, 0 insertions, 0 deletions