34 lines
1021 B
Diff
34 lines
1021 B
Diff
From d53f28d1c946a99a5968f429219530655e95ff88 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= <duje.mihanovic@skole.hr>
|
|
Date: Fri, 21 Jul 2023 22:37:45 +0200
|
|
Subject: [PATCH] gpio: pxa: disable pinctrl calls for MMP_GPIO
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
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>
|
|
---
|
|
drivers/gpio/gpio-pxa.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
|
|
index a1630ed4b741..d92650aecb06 100644
|
|
--- a/drivers/gpio/gpio-pxa.c
|
|
+++ b/drivers/gpio/gpio-pxa.c
|
|
@@ -238,6 +238,7 @@ static bool pxa_gpio_has_pinctrl(void)
|
|
switch (gpio_type) {
|
|
case PXA3XX_GPIO:
|
|
case MMP2_GPIO:
|
|
+ case MMP_GPIO:
|
|
return false;
|
|
|
|
default:
|
|
--
|
|
2.41.0
|
|
|