driver-core: platform_driver_probe() must probe synchronously
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 30 Mar 2015 23:20:07 +0000 (16:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 May 2015 07:25:25 +0000 (00:25 -0700)
commit5c36eb2a9ecc0bc5228451b1eeb83e70b6bb7473
tree5d5f051418a625460526c6c4128944697bbd247a
parentd173a137c5bd95ee29d02705e5fa8890ef149718
driver-core: platform_driver_probe() must probe synchronously

Because platform_driver_probe() checks, after trying to register driver,
if there are any devices that driver successfully bound to, driver's
probe routine must be run synchronously.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/platform.c