pinctrl: qcom-spmi: Fix pin direction configuration
authorIvan T. Ivanov <ivan.ivanov@linaro.org>
Fri, 17 Apr 2015 14:50:49 +0000 (17:50 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Apr 2015 13:33:42 +0000 (15:33 +0200)
commitdc391502fdbf97a9cabdc58ba8c915175383f681
tree3eb3c72dff70fe6a5eae6642c057c8d9005b8180
parenta526973e0291b245aefe12023a7f775f3c0e59a2
pinctrl: qcom-spmi: Fix pin direction configuration

Pin direction configuration was incorrectly overwritten
by output and function values in set_mux(). Fix this.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c