Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: pinmux: Return selector to the pinctrl driver
We must return the selector from pinmux_generic_add_function() so pin controller device drivers can remove the right group if needed for deferred probe for example. And we now must make sure that a proper name is passed so we can use it to check if the entry already exists. Note that fixes are also needed for the pin controller drivers to use the selector value. Fixes: a76edc8 ("pinctrl: core: Add generic pinctrl functions for managing groups") Reported-by: H. Nikolaus Schaller <[email protected]> Cc: Christ van Willegen <[email protected]> Cc: Haojian Zhuang <[email protected]> Cc: Jacopo Mondi <[email protected]> Cc: Paul Cercueil <[email protected]> Cc: Sean Wang <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Tested-By: H. Nikolaus Schaller <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
- Loading branch information