pinctrl: ingenic: Fix inverted direction for < JZ4770
authorPaul Cercueil <paul@crapouillou.net>
Wed, 27 Jun 2018 11:49:02 +0000 (13:49 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 14 Jul 2018 10:47:04 +0000 (12:47 +0200)
commit0084a786ca8c84b443f67c4a697b4f2552761650
tree92e46fcdc9c292d2acb7e3f72d56269dc7984d38
parent5b1c4bf2519efc2328d252fd7697bdfb306f10f3
pinctrl: ingenic: Fix inverted direction for < JZ4770

The .gpio_set_direction() callback was setting inverted direction
for SoCs older than the JZ4770, this restores the correct behaviour.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ingenic.c