diff options
author | Duje Mihanović <duje.mihanovic@skole.hr> | 2023-09-29 18:41:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-10 22:53:39 +0300 |
commit | 36953b4da78bc296d203a25330c3192bcad1ccd9 (patch) | |
tree | 541340ba25f502f87ad76ded2ab1dea9e62fb7e2 /drivers | |
parent | 6ad972e668708f965f963b6886ff67efc5603e9d (diff) | |
download | linux-36953b4da78bc296d203a25330c3192bcad1ccd9.tar.xz |
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>
Diffstat (limited to 'drivers')
-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 0cb6600b8eee..1dbeaf6d0045 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: |