Re: [PATCH] i2c: do not try to load modules for of-registered devices

2015-01-26 Thread Wolfram Sang
On Fri, Jan 16, 2015 at 12:07:22AM -0800, Dmitry Torokhov wrote: > Trying to register an I2C device asynchronously (via async_schedule() call) > results in an ugly warning from request_module() warning about potential > deadlock (because request_module tries to wait for async works to > complete).

[PATCH] i2c: do not try to load modules for of-registered devices

2015-01-16 Thread Dmitry Torokhov
Trying to register an I2C device asynchronously (via async_schedule() call) results in an ugly warning from request_module() warning about potential deadlock (because request_module tries to wait for async works to complete). While we could try to switch to request_module_nowait(), other buses, as