Commit e73fda2d authored by Abel Vesa's avatar Abel Vesa Committed by Linus Walleij
Browse files

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: 87ebcd8b ("pinctrl: qcom: Add glymur pinctrl driver")
Signed-off-by: default avatarAbel Vesa <abel.vesa@linaro.org>
Reviewed-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 37e7b536
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1316,7 +1316,7 @@ static const char *const wcn_sw_ctrl_groups[] = {
};

static const struct pinfunction glymur_functions[] = {
	MSM_PIN_FUNCTION(gpio),
	MSM_GPIO_PIN_FUNCTION(gpio),
	MSM_PIN_FUNCTION(resout_gpio_n),
	MSM_PIN_FUNCTION(aoss_cti),
	MSM_PIN_FUNCTION(asc_cci),
@@ -1342,7 +1342,7 @@ static const struct pinfunction glymur_functions[] = {
	MSM_PIN_FUNCTION(edp0_hot),
	MSM_PIN_FUNCTION(edp0_lcd),
	MSM_PIN_FUNCTION(edp1_lcd),
	MSM_PIN_FUNCTION(egpio),
	MSM_GPIO_PIN_FUNCTION(egpio),
	MSM_PIN_FUNCTION(eusb_ac_en),
	MSM_PIN_FUNCTION(gcc_gp1),
	MSM_PIN_FUNCTION(gcc_gp2),