diff options
author | Neil Gabriel <ngabriel@nvidia.com> | 2014-01-27 10:18:22 -0600 |
---|---|---|
committer | Mitch Luban <mluban@nvidia.com> | 2014-02-06 09:20:55 -0800 |
commit | ee9242f74dba3af61b7717bcefdadf108cb9b027 (patch) | |
tree | c556fccb7fdf26ed5d4cb0757169041a7162eae0 /drivers/base | |
parent | 50ba73a322afff1e63d1cc2880bef7c907db98d6 (diff) |
Add firmware path to the firmware search paths.
If the kernel is able to find firmware in the kernel firmware
search path (when requested through request_firmware()) it will
load it directly without the involvement of the usermodehelper/
udev process (which is not always available).
Bug 1403956
Change-Id: Ic66b6dc306002c7baac541cf94ad89d29c1d397d
Signed-off-by: Neil Gabriel <ngabriel@nvidia.com>
Reviewed-on: http://git-master/r/360474
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/362435
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/firmware_class.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index cbb8b0015e03..9fb40bf0f8eb 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base/firmware_class.c @@ -261,6 +261,7 @@ static void fw_free_buf(struct firmware_buf *buf) static char fw_path_para[256]; static const char * const fw_path[] = { fw_path_para, + "/system/etc/firmware", "/lib/firmware/updates/" UTS_RELEASE, "/lib/firmware/updates", "/lib/firmware/" UTS_RELEASE, |