gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 13 Feb 2019 23:06:18 +0000 (00:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:08:49 +0000 (10:08 +0100)
commitcd10b02afb7c9865d69d881606404ea87247e319
treed4afab3e3da1a1480e0900e6b3f7ef43044326d6
parenta83243a85827be3ad07c84200f77ec3beb90d6e0
gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2

commit af14b2c98adb85e9517390bb88309338b9075350 upstream.

Similarly to PXA3xx, pinctrl-single can't set pin direction on MMP2 either.
See also: commit 9dabfdd84bdfa ("gpio: pxa: disable pinctrl calls for
PXA3xx")

Cc: stable@vger.kernel.org
Fixes: a770d946371e ("gpio: pxa: add pin control gpio direction and request")
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-pxa.c