summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorMatthew McClintock <mmcclint@codeaurora.org>2016-03-23 17:04:57 -0500
committerLinus Walleij <linus.walleij@linaro.org>2016-03-31 11:55:57 +0200
commitcdbac7349f978dd3355e04a6724537964d6fdacd (patch)
tree806a2548c4478ec75c8fbf641ffe29680b495de5 /drivers/pinctrl
parent5303f7827fcd41d1cf4da9ca9b6b7d360bc07bb7 (diff)
downloadlinux-cdbac7349f978dd3355e04a6724537964d6fdacd.tar.gz
linux-cdbac7349f978dd3355e04a6724537964d6fdacd.tar.bz2
linux-cdbac7349f978dd3355e04a6724537964d6fdacd.zip
pinctrl: qcom: ipq4019: fix the function enum for gpio mode
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/qcom/pinctrl-ipq4019.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-ipq4019.c b/drivers/pinctrl/qcom/pinctrl-ipq4019.c
index cb5f0a8dff41..cb9f16ab3add 100644
--- a/drivers/pinctrl/qcom/pinctrl-ipq4019.c
+++ b/drivers/pinctrl/qcom/pinctrl-ipq4019.c
@@ -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, \