summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@suse.com>2015-03-30 16:20:06 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-20 00:25:25 -0700
commitd173a137c5bd95ee29d02705e5fa8890ef149718 (patch)
treec900140a59a822192090d8bded8a127316b8c556 /usr
parentf2411da746985e60d4d087f3a43e271c61785927 (diff)
downloadlinux-d173a137c5bd95ee29d02705e5fa8890ef149718.tar.gz
linux-d173a137c5bd95ee29d02705e5fa8890ef149718.tar.bz2
linux-d173a137c5bd95ee29d02705e5fa8890ef149718.zip
driver-core: enable drivers to opt-out of async probe
There are drivers that can not be probed asynchronously. One such group is platform drivers registered with platform_driver_probe(), which expects driver's probe routine be discarded after the driver has been registered and initial binding attempt executed. Also platform_driver_probe() an error when no devices were bound to the driver, allowing failing to load such driver module altogether. Other drivers do not work well with asynchronous probing because of driver bug or not optimal driver organization. To allow using such drivers even when user requests asynchronous probing as default boot strategy, let's allow them to opt out. Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions