drivers/base/firmware_class: Import OEM changes
Signed-off-by: zainarbani <zaintsyariev@gmail.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
* main.c - Multi purpose firmware loading support
|
||||
*
|
||||
* Copyright (c) 2003 Manuel Estrada Sainz
|
||||
* Copyright (C) 2021 XiaoMi, Inc.
|
||||
*
|
||||
* Please see Documentation/firmware_class/ for more information.
|
||||
*
|
||||
@@ -279,6 +280,10 @@ static void free_fw_priv(struct fw_priv *fw_priv)
|
||||
static char fw_path_para[256];
|
||||
static const char * const fw_path[] = {
|
||||
fw_path_para,
|
||||
"/vendor/firmware",
|
||||
"/system/vendor/firmware",
|
||||
"/system/etc/firmware",
|
||||
"/mnt/vendor/",
|
||||
"/lib/firmware/updates/" UTS_RELEASE,
|
||||
"/lib/firmware/updates",
|
||||
"/lib/firmware/" UTS_RELEASE,
|
||||
|
||||
Reference in New Issue
Block a user