Re: [PATCH 3/3] __device_release_driver(): Do not wait for asynchronous probing

2018-10-15 Thread Dmitry Torokhov
On Tue, Oct 02, 2018 at 02:52:23PM -0700, Bart Van Assche wrote: > Since __device_release_driver() is called with the device lock held > and since the same device lock is obtained by the functions that > perform asynchronous probing (driver_attach_async() and > __device_attach_async_helper()), asyn

[PATCH 3/3] __device_release_driver(): Do not wait for asynchronous probing

2018-10-02 Thread Bart Van Assche
Since __device_release_driver() is called with the device lock held and since the same device lock is obtained by the functions that perform asynchronous probing (driver_attach_async() and __device_attach_async_helper()), asynchronous probing is already serialized against __device_release_driver().