Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: qcom: glymur: Fix the gpio and egpio pin functions

Mark the gpio/egpio as GPIO specific pin functions, othewise
the pin muxing generic framework will complain about the gpio
being already requested by a different owner.

Fixes: 87ebcd8baebf ("pinctrl: qcom: Add glymur pinctrl driver")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Abel Vesa and committed by
Linus Walleij
e73fda2d 37e7b536

+2 -2
+2 -2
drivers/pinctrl/qcom/pinctrl-glymur.c
··· 1316 1316 }; 1317 1317 1318 1318 static const struct pinfunction glymur_functions[] = { 1319 - MSM_PIN_FUNCTION(gpio), 1319 + MSM_GPIO_PIN_FUNCTION(gpio), 1320 1320 MSM_PIN_FUNCTION(resout_gpio_n), 1321 1321 MSM_PIN_FUNCTION(aoss_cti), 1322 1322 MSM_PIN_FUNCTION(asc_cci), ··· 1342 1342 MSM_PIN_FUNCTION(edp0_hot), 1343 1343 MSM_PIN_FUNCTION(edp0_lcd), 1344 1344 MSM_PIN_FUNCTION(edp1_lcd), 1345 - MSM_PIN_FUNCTION(egpio), 1345 + MSM_GPIO_PIN_FUNCTION(egpio), 1346 1346 MSM_PIN_FUNCTION(eusb_ac_en), 1347 1347 MSM_PIN_FUNCTION(gcc_gp1), 1348 1348 MSM_PIN_FUNCTION(gcc_gp2),