pinctrl: msm: Use init_valid_mask exported function
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Fri, 5 Oct 2018 06:52:59 +0000 (08:52 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Oct 2018 08:31:57 +0000 (10:31 +0200)
commit6f0ec09afe278ea2a5d63f31b754db6655c69078
tree7c7e101fcff9303678b46df7f86cc3aac34cf4b4
parentf8ec92a9f63b3b11e399409141b7868bb405e6b5
pinctrl: msm: Use init_valid_mask exported function

The current code produces XPU violation if get_direction is called just
after the initialization.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Acked-by: Timur Tabi <timur@kernel.org>
Tested-by: Jeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-msm.c