regulator-core has_full_constraints set too late for dt using boards ?
Hans de Goede
hdegoede at redhat.com
Wed Dec 11 10:43:01 EST 2013
Hi All,
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 ...
Regards,
Hans
More information about the linux-arm-kernel
mailing list