[PATCH v3 01/18] platform: delay OF device-driver matches until late_initcall

From
Mark Brown <broonie@kernel.org>
Date
2015-08-10 10:25:43
Also in
linux-acpi, linux-devicetree, lkml
Reply to
Tomeu Vizoso, 2015-08-09
On Sun, Aug 09, 2015 at 03:03:14PM +0200, Tomeu Vizoso wrote:
There was some recent thread about how the disabling of unused clocks
and regulators isn't really safe because after late_initcall_sync more
drivers can be registered from modules. Furthermore, there's async
device probes.
What recent thread and why would that be unsafe?  Any driver using a
clock or regulator ought to be making sure that the clock or regulator
is enabled before it tries to use it.  The worst that should happen is
that something gets the power bounced during boot which isn't the end of
the world.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150810/5a6b2746/attachment.sig>
Thread (39 messages) 39 messages, 4 authors, last reply 2015-09-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help