Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec8aa6b1 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Lingutla Chandrasekhar
Browse files

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.

Change-Id: I75c4c1adf2903da2f5749be9bff3b9c3f0bf444f
Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: d173a137c5bd95ee29d02705e5fa8890ef149718
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 1e29659b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment