diff options
author | Sean Wang <sean.wang@mediatek.com> | 2018-07-12 07:50:00 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-07-17 10:50:14 +0200 |
commit | 238262af08a20e5f1932fcf606b8b84370ac8b77 (patch) | |
tree | 3805bf88cb11242ca4c47dcaba6b264a56bd34d5 /drivers/pinctrl/sirf/pinctrl-atlas7.c | |
parent | pinctrl: single: Fix missing unlock on error path (diff) | |
download | linux-238262af08a20e5f1932fcf606b8b84370ac8b77.tar.xz linux-238262af08a20e5f1932fcf606b8b84370ac8b77.zip |
pinctrl: mt7622: Fix probe fail by misuse the selector
After the commit acf137951367 ("pinctrl: core: Return selector to the
pinctrl driver") and the commit 47f1242d19c3 ("pinctrl: pinmux: Return
selector to the pinctrl driver"), it's necessary to add the fixes
needed for the pin controller drivers to use the appropriate returned
selector for a negative error number returned in case of the fail at
these functions. Otherwise, the driver would have a failed probe and
that causes boot message cannot correctly output and devices fail
to acquire their own pins.
Cc: Kevin Hilman <khilman@baylibre.com>
Fixes: acf137951367 ("pinctrl: core: Return selector to the pinctrl driver")
Fixes: 47f1242d19c3 ("pinctrl: pinmux: Return selector to the pinctrl driver")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sirf/pinctrl-atlas7.c')
0 files changed, 0 insertions, 0 deletions