Commit 0d4294b3 authored by Lubomir Rintel's avatar Lubomir Rintel 🥕 Committed by Greg Kroah-Hartman

gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2

commit af14b2c9 upstream.

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

Cc: stable@vger.kernel.org
Fixes: a770d946 ("gpio: pxa: add pin control gpio direction and request")
Signed-off-by: Lubomir Rintel's avatarLubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek's avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e1a7f8ae
......@@ -245,6 +245,7 @@ static bool pxa_gpio_has_pinctrl(void)
{
switch (gpio_type) {
case PXA3XX_GPIO:
case MMP2_GPIO:
return false;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment