]> git.baikalelectronics.ru Git - kernel.git/commitdiff
gpio: pxa: disable pinctrl calls for MMP_GPIO
authorDuje Mihanović <duje.mihanovic@skole.hr>
Fri, 29 Sep 2023 15:41:57 +0000 (17:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Oct 2023 20:00:45 +0000 (22:00 +0200)
commit f0575116507b981e6a810e78ce3c9040395b958b upstream.

Similarly to PXA3xx and MMP2, pinctrl-single isn't capable of setting
pin direction on MMP either.

Fixes: a770d946371e ("gpio: pxa: add pin control gpio direction and request")
Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-pxa.c

index 1198ab0305d037bcd787c091c9e183e489406db2..b90357774dc04e8ec40cad93bf5e57e931abd4e1 100644 (file)
@@ -243,6 +243,7 @@ static bool pxa_gpio_has_pinctrl(void)
        switch (gpio_type) {
        case PXA3XX_GPIO:
        case MMP2_GPIO:
+       case MMP_GPIO:
                return false;
 
        default: