pinctrl: ssbi-gpio: Fix pm8xxx_pin_config_get() to be compliant
authorDouglas Anderson <dianders@chromium.org>
Thu, 30 Aug 2018 15:23:38 +0000 (08:23 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 5 Sep 2018 10:10:50 +0000 (12:10 +0200)
commitb432414b996d32a1bd9afe2bd595bd5729c1477f
tree7de39a6cadf4b5d73929088e86736140c9f8a607
parent2e38b882b9b051d4262c0f5edd4f9063db377edf
pinctrl: ssbi-gpio: Fix pm8xxx_pin_config_get() to be compliant

If you look at "pinconf-groups" in debugfs for ssbi-gpio you'll notice
it looks like nonsense.

The problem is fairly well described in commit 1cf86bc21257 ("pinctrl:
qcom: spmi-gpio: Fix pmic_gpio_config_get() to be compliant") and
commit 05e0c828955c ("pinctrl: msm: Fix msm_config_group_get() to be
compliant"), but it was pointed out that ssbi-gpio has the same
problem.  Let's fix it there too.

Fixes: b4c45fe974bc ("pinctrl: qcom: ssbi: Family A gpio & mpp drivers")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c