diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-01-16 00:07:22 -0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-01-26 16:52:51 +0100 |
commit | c680eed5ccd4a1c99ee48cd41f4e5fdfad497dc2 (patch) | |
tree | 35f203b097acdd6f41b8c2b2b78f21e207f90c42 /drivers/i2c/busses | |
parent | 894acb2f823b13afacfe40b02efbd9146af58586 (diff) | |
download | linux-c680eed5ccd4a1c99ee48cd41f4e5fdfad497dc2.tar.bz2 |
i2c: do not try to load modules for of-registered devices
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 well as I2C itself when not using device tree, do not try to load
modules, but rather rely on the standard infrastructure (udev) to execute
module loading, and we should be doing the same.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses')
0 files changed, 0 insertions, 0 deletions