Skip to content

Commit f057511

Browse files
LegoLivesMatterBartosz Golaszewski
authored andcommitted
gpio: pxa: disable pinctrl calls for MMP_GPIO
Similarly to PXA3xx and MMP2, pinctrl-single isn't capable of setting pin direction on MMP either. Fixes: a770d94 ("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>
1 parent 8a749fd commit f057511

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpio/gpio-pxa.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ static bool pxa_gpio_has_pinctrl(void)
237237
switch (gpio_type) {
238238
case PXA3XX_GPIO:
239239
case MMP2_GPIO:
240+
case MMP_GPIO:
240241
return false;
241242

242243
default:

0 commit comments

Comments
 (0)