Skip to contentSkip to conversation

FAILED: patch "[PATCH] gpio: pxa: avoid attempting to set pin direction via pinctrl" failed to apply to 4.9-stable tree

PATCH [email protected] 1 participant 1 message Feb 23, 2019

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below does not apply to the 4.9-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From af14b2c98adb85e9517390bb88309338b9075350 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <[email protected]>
Date: Thu, 14 Feb 2019 00:06:18 +0100
Subject: [PATCH] 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: commit 9dabfdd84bdfa ("gpio: pxa: disable pinctrl calls for PXA3xx")

Fixes a770d946371e ("gpio: pxa: add pin control gpio direction and request")
drivers/gpio/gpio-pxa.c +1 -0
index e9600b556f39..bcc6be4a5cb2 100644
@@ -245,6 +245,7 @@ static bool pxa_gpio_has_pinctrl(void)
 {
 	switch (gpio_type) {
 	case PXA3XX_GPIO:
+	case MMP2_GPIO:
 		return false;
 
 	default: