Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: mt7622: Fix probe fail by misuse the selector
After the commit acf1379 ("pinctrl: core: Return selector to the pinctrl driver") and the commit 47f1242 ("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 <[email protected]> Fixes: acf1379 ("pinctrl: core: Return selector to the pinctrl driver") Fixes: 47f1242 ("pinctrl: pinmux: Return selector to the pinctrl driver") Signed-off-by: Sean Wang <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
- Loading branch information