]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: implement pinctrl deferred probing
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 10 Apr 2012 08:00:38 +0000 (10:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Apr 2012 17:33:04 +0000 (19:33 +0200)
commitab152c959298103f99897d7f51aea9023a080fc7
tree0eda000df67cf6570eb1f714b41ce396223bc6c9
parent869d74583cf12a87b98c306f559844738f3f1cea
pinctrl: implement pinctrl deferred probing

If drivers try to obtain pinctrl handles for a pin controller that
has not yet registered to the subsystem, we need to be able to
back out and retry with deferred probing. So let's return
-EPROBE_DEFER whenever this location fails. Also downgrade the
errors to info, maybe we will even set them to debug once the
deferred probing is commonplace.

Cc: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/pinctrl.txt
drivers/pinctrl/core.c
drivers/pinctrl/devicetree.c