pinctrl: qcom: ipq4019: fix the function enum for gpio mode
authorMatthew McClintock <mmcclint@codeaurora.org>
Wed, 23 Mar 2016 22:04:57 +0000 (17:04 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 31 Mar 2016 09:55:57 +0000 (11:55 +0200)
Without this, we would fail to set the mode to gpio if trying to
configure for that mode

Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
Acked-by: Björn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-ipq4019.c

index cb5f0a8dff41c45a7a4a91697b68814cf7f7d114..cb9f16ab3add453d1d066a2d920bbb76d1f93992 100644 (file)
@@ -237,7 +237,7 @@ DECLARE_QCA_GPIO_PINS(99);
                .pins = gpio##id##_pins,                \
                .npins = (unsigned)ARRAY_SIZE(gpio##id##_pins), \
                .funcs = (int[]){                       \
-                       qca_mux_NA, /* gpio mode */     \
+                       qca_mux_gpio, /* gpio mode */   \
                        qca_mux_##f1,                   \
                        qca_mux_##f2,                   \
                        qca_mux_##f3,                   \