pinctrl: qcom: spmi-mpp: Fix drive strength setting
authorStephen Boyd <swboyd@chromium.org>
Fri, 31 Aug 2018 00:58:52 +0000 (17:58 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Sep 2018 07:31:02 +0000 (09:31 +0200)
commit89c68b102f13f123aaef22b292526d6b92501334
tree573bd27fd37f1fd6649fa859443c18c604fc1dea
parent9ae4987ebbb9d9a39c34900304c23a06afb53da2
pinctrl: qcom: spmi-mpp: Fix drive strength setting

It looks like we parse the drive strength setting here, but never
actually write it into the hardware to update it. Parse the setting and
then write it at the end of the pinconf setting function so that it
actually sticks in the hardware.

Fixes: 0e948042c420 ("pinctrl: qcom: spmi-mpp: Implement support for sink mode")
Cc: Doug Anderson <dianders@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c