diff options
author | Duje Mihanović <duje.mihanovic@skole.hr> | 2023-09-29 17:41:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-10 21:59:09 +0200 |
commit | 1dd6095fc7271f2212d2a1f1fc60f3908d2410ec (patch) | |
tree | 456976962e0f20f235e7bf8c110e8c77b2c8416f | |
parent | 844fcf4c697c54dda1325a99eecd3080072774d0 (diff) | |
download | linux-stable-1dd6095fc7271f2212d2a1f1fc60f3908d2410ec.tar.gz linux-stable-1dd6095fc7271f2212d2a1f1fc60f3908d2410ec.tar.bz2 linux-stable-1dd6095fc7271f2212d2a1f1fc60f3908d2410ec.zip |
gpio: pxa: disable pinctrl calls for MMP_GPIO
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>
-rw-r--r-- | drivers/gpio/gpio-pxa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index 382468e294e1..d9abe7093efd 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/drivers/gpio/gpio-pxa.c @@ -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: |