mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2
commitaf14b2c98aupstream. Similarly to PXA3xx, pinctrl-single can't set pin direction on MMP2 either. See also: commit9dabfdd84b("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a83243a858
commit
cd10b02afb
@@ -245,6 +245,7 @@ static bool pxa_gpio_has_pinctrl(void)
|
||||
{
|
||||
switch (gpio_type) {
|
||||
case PXA3XX_GPIO:
|
||||
case MMP2_GPIO:
|
||||
return false;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user