mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
gpio: pxa: disable pinctrl calls for MMP_GPIO
commitf057511650upstream. Similarly to PXA3xx and MMP2, pinctrl-single isn't capable of setting pin direction on MMP either. Fixes:a770d94637("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6ad972e668
commit
36953b4da7
@@ -243,6 +243,7 @@ static bool pxa_gpio_has_pinctrl(void)
|
|||||||
switch (gpio_type) {
|
switch (gpio_type) {
|
||||||
case PXA3XX_GPIO:
|
case PXA3XX_GPIO:
|
||||||
case MMP2_GPIO:
|
case MMP2_GPIO:
|
||||||
|
case MMP_GPIO:
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user