pinctrl: sunxi: H3 requires irq_read_needs_mux
authorKrzysztof Adamski <k@japko.eu>
Wed, 3 Feb 2016 07:57:14 +0000 (08:57 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Feb 2016 13:29:13 +0000 (14:29 +0100)
commit111f2b87326199a736c3469265763a6be6e5528f
treec3b2e6642f3e6410c3551986152c3713ccf32a08
parenteceb3e61c74356590f37cec89708770b333162c4
pinctrl: sunxi: H3 requires irq_read_needs_mux

It seems that on H3, just like on A10, when GPIOs are configured as
external interrupt data registers does not contain their value.  When
value is read, GPIO function must be temporary switched to input for
reads.

Signed-off-by: Krzysztof Adamski <k@japko.eu>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c