[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150126155335.GA13494@katana>
Date: Mon, 26 Jan 2015 16:53:35 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: do not try to load modules for of-registered devices
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). 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@...il.com>
Sounds reasonable. Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists