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: commithifive-unleashed-5.19dabfdd84b
("gpio: pxa: disable pinctrl calls for PXA3xx") Cc: stable@vger.kernel.org Fixes:a770d94637
("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>
parent
fa84667b98
commit
af14b2c98a
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue