]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: qcom: ssbi-gpio: Fix fwspec parsing bug
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 6 Mar 2020 14:34:15 +0000 (15:34 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Mar 2020 12:52:37 +0000 (13:52 +0100)
commitacdaa76d86d90f4328a2c7dde2c26b765e8cf238
treef5113742ff47e02fd58ac9ade8d004238330a35d
parent61676dda2ad035ef02f25b617a2066a2e8368f52
pinctrl: qcom: ssbi-gpio: Fix fwspec parsing bug

We are parsing SSBI gpios as fourcell fwspecs but they are
twocell. Probably a simple copy-and-paste bug.

Tested on the APQ8060 DragonBoard and after this ethernet
and MMC card detection works again.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: stable@vger.kernel.org
Reviewed-by: Brian Masney <masneyb@onstation.org>
Fixes: 9b8ad4bf3c5b ("pinctrl: ssbi-gpio: convert to hierarchical IRQ helpers in gpio core")
Link: https://lore.kernel.org/r/20200306143416.1476250-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c