pinctrl: ingenic: Fix inverted direction for < JZ4770
authorPaul Cercueil <paul@crapouillou.net>
Wed, 27 Jun 2018 11:49:02 +0000 (13:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:07:09 +0000 (13:07 +0200)
commit593bf2c988d022243ff4bf946d0ff62d6eb8137c
tree9847dc1e85a776114f0c68afc6f9661ba7d97cb8
parent04f5fcc50d6abda9ab09690100ff9d1bd17b6c20
pinctrl: ingenic: Fix inverted direction for < JZ4770

[ Upstream commit 0084a786ca8c84b443f67c4a697b4f2552761650 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/pinctrl-ingenic.c