regulator-core has_full_constraints set too late for dt using boards ?
Mark Brown
broonie at kernel.org
Wed Dec 11 11:02:25 EST 2013
On Wed, Dec 11, 2013 at 04:43:01PM +0100, Hans de Goede wrote:
> While looking into making regulator_get_optional not print
> an error when no regulator is found, I've noticed that
> for dt enabled boards, has_full_constraints is not set
> until regulator_init_complete() runs, which is a
> late_initcall.
> This means that it gets set after it has already been checked
> from calls like regulator_get which are likely done by init
> functions running earlier.
> This seems wrong ...
Please look at the current code, that's not how this works any more.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131211/55f674c2/attachment.sig>
More information about the linux-arm-kernel
mailing list