[PATCH 1/3] driver core: Add API to wait for deferred probe to complete during init
Mark Brown
broonie at kernel.org
Thu May 9 09:50:17 EDT 2013
On Thu, May 09, 2013 at 12:50:46PM +0100, Grant Likely wrote:
> However, if a device that shuts down resources after init has
> completed and then cannot turn those resources back on when another
> driver requests them then it sounds like there is a bigger design
> problem. We're in a hotplug world and most of the time a driver cannot
> assume that a resource will never get requested after initcalls have
> completed. It sounds like a design bug in the driver if it cannot
> handle that use case.
Even if the driver copes fine it can still be desirable to avoid the
power down/up cycle if it involves some user visible effect - things
like blinking the display off then on for example. That said I am a
little suspicious about this approach, it doesn't feel as robust as it
should to go round individual callers.
-------------- 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/20130509/a652d63c/attachment.sig>
More information about the linux-arm-kernel
mailing list