media: staging: ipu3-imgu: Update firmware path
Use the current firmware path in linux-firmware repository. Check the older paths still in order to avoid causing issues to the users. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
committed by
Hans Verkuil
parent
f2bf6cd8f4
commit
e490d3ee39
@@ -117,7 +117,9 @@ int imgu_css_fw_init(struct imgu_css *css)
|
||||
unsigned int i, j, binary_nr;
|
||||
int r;
|
||||
|
||||
r = request_firmware(&css->fw, IMGU_FW_NAME_20161208, css->dev);
|
||||
r = request_firmware(&css->fw, IMGU_FW_NAME_IPU_20161208, css->dev);
|
||||
if (r == -ENOENT)
|
||||
r = request_firmware(&css->fw, IMGU_FW_NAME_20161208, css->dev);
|
||||
if (r == -ENOENT)
|
||||
r = request_firmware(&css->fw, IMGU_FW_NAME, css->dev);
|
||||
if (r)
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#define IMGU_FW_NAME "intel/ipu3-fw.bin"
|
||||
#define IMGU_FW_NAME_20161208 \
|
||||
"intel/irci_irci_ecr-master_20161208_0213_20170112_1500.bin"
|
||||
#define IMGU_FW_NAME_IPU_20161208 \
|
||||
"intel/ipu/irci_irci_ecr-master_20161208_0213_20170112_1500.bin"
|
||||
|
||||
typedef u32 imgu_fw_ptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user