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:09:17 +0000 (13:09 +0200)
commit87011fb97fe5a4b05c7c7c532502b45947fc4709
treeb2ac94ede1bc391c76301998122a235bcfb5ed3e
parent2d2eacd650c6a01ef90c34c7d99f82854eb7fd96
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