firmware_loader: add /odm/firmware to fw_path[]

/odm/firmware must be put before /vendor/firmware, otherwise the wrong
firmware will be loaded.

01-01 09:00:31.514  1333  1333 E msm_cvp ab00000.qcom,cvp: invalid firmware metadata
01-01 09:00:31.514  1333  1333 I msm_cvp : err: __load_fw_to_memory: error -22 loading "evass.mbn"
01-01 09:00:31.514  1333  1333 I msm_cvp : err: Failed to download firmware

Signed-off-by: Kazuki Hashimoto <kazukih0205@gmail.com>
This commit is contained in:
Kazuki Hashimoto 2024-09-25 09:07:47 +09:00 committed by j7b3y
parent eff67caa90
commit f830bcfc62

View File

@ -485,6 +485,7 @@ static const char * const fw_path[] = {
"/lib/firmware/updates",
"/lib/firmware/" UTS_RELEASE,
"/lib/firmware",
"/odm/firmware",
"/vendor/firmware",
};