linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* regulator-core has_full_constraints set too late for dt using boards ?
@ 2013-12-11 15:43 Hans de Goede
  2013-12-11 16:02 ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Hans de Goede @ 2013-12-11 15:43 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-12-12 13:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11 15:43 regulator-core has_full_constraints set too late for dt using boards ? Hans de Goede
2013-12-11 16:02 ` Mark Brown
2013-12-12 10:14   ` Hans de Goede
2013-12-12 10:42     ` Mark Brown
2013-12-12 12:19       ` Hans de Goede
2013-12-12 12:23         ` Mark Brown
2013-12-12 13:05           ` Hans de Goede
2013-12-12 13:16             ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).