diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2017-06-09 21:33:13 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-06-20 11:16:23 +0300 |
commit | 7f45a875da46a112f781c25cfa9bcb93aaed4712 (patch) | |
tree | e6d845a32b18bbdb3b74ff6e9c8d102f2a75354f /drivers/gpio/gpio-vr41xx.c | |
parent | 5dab5872e59390aa9cca26ee629b95f7179f6c77 (diff) | |
download | linux-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