]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
Attempt kernel firmware load before going to udev.
authorNeil Gabriel <ngabriel@nvidia.com>
Tue, 21 Jan 2014 18:03:59 +0000 (12:03 -0600)
committerMitch Luban <mluban@nvidia.com>
Thu, 6 Feb 2014 17:20:45 +0000 (09:20 -0800)
commit50ba73a322afff1e63d1cc2880bef7c907db98d6
treea78e7b230d8abe8adfb4741562866c0e5d5d9929
parent81f64d13a288a84218b0f31239ed195d8ba5840c
Attempt kernel firmware load before going to udev.

request_firmware() should fall back to usermodehelper
routines to load firmware only after a failed attempt
to load it directly. Prior to this change, the code
will attempt to lock the usermodehelper state before
attempting to load the firmware directly. If the
usermodehelper is disabled, the lock attempts will
fail and request_firmware() will exit without even
attempting a direct load.

Bug 1403956

Change-Id: I26c502d30657eab3d382d139618f9daa366068cf
Signed-off-by: Neil Gabriel <ngabriel@nvidia.com>
Reviewed-on: http://git-master/r/358303
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/362065
drivers/base/firmware_class.c