Commit af14b2c9 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Linus Walleij

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

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: default avatarLubomir Rintel <lkundrak@v3.sk>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent fa84667b
...@@ -245,6 +245,7 @@ static bool pxa_gpio_has_pinctrl(void) ...@@ -245,6 +245,7 @@ static bool pxa_gpio_has_pinctrl(void)
{ {
switch (gpio_type) { switch (gpio_type) {
case PXA3XX_GPIO: case PXA3XX_GPIO:
case MMP2_GPIO:
return false; return false;
default: 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