Skip to content

Commit af14b2c

Browse files
lkundraklinusw
authored andcommitted
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 9dabfdd ("gpio: pxa: disable pinctrl calls for PXA3xx") Cc: stable@vger.kernel.org Fixes: a770d94 ("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>
1 parent fa84667 commit af14b2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpio/gpio-pxa.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ static bool pxa_gpio_has_pinctrl(void)
245245
{
246246
switch (gpio_type) {
247247
case PXA3XX_GPIO:
248+
case MMP2_GPIO:
248249
return false;
249250

250251
default:

0 commit comments

Comments
 (0)