gpio: axp209: use correct register for GPIO input status
authorQuentin Schulz <quentin.schulz@free-electrons.com>
Wed, 23 Nov 2016 14:11:50 +0000 (15:11 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Nov 2016 15:19:02 +0000 (16:19 +0100)
commit1d2b2ac05ac6ea59b78e1e239180e69ce25cc85a
tree8233671663ef279a06fe6c02e2723d0b93f94d6e
parent1516c6350aa2770b8a5e36d40c3ec5078f92ba70
gpio: axp209: use correct register for GPIO input status

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 <quentin.schulz@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-axp209.c