]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: fixed: support deferred probe for DT GPIOs
authorStephen Warren <swarren@nvidia.com>
Fri, 29 Jun 2012 16:33:15 +0000 (10:33 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Jul 2012 18:12:59 +0000 (19:12 +0100)
commitf141822b15635daa94610c5527806fa315f59f4d
tree95800ff6dec1780cde5086b979f64479f929564e
parentd172f319c1094ef22d2a00f43e8a7da4dd02c8f3
regulator: fixed: support deferred probe for DT GPIOs

of_get_named_gpio() needs the driver hosting the GPIO that the DT
property references to have been probed. Detect this specific failure,
and defer the probe of the whole regulator until this API can complete.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/fixed.c