media: staging: media: ipu3-imgu: Request specific firmware binary
Primarily request a specific revision of the IPU3 firmware that the driver is known to work with, irci_irci_ecr-master_20161208_0213_20170112_1500.bin. Some distros only ship this while others provide a symlink called ipu3-fw.bin, which the driver only requested previously. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
2425c81fc4
commit
229fac6c44
|
@ -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, css->dev);
|
||||
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)
|
||||
return r;
|
||||
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
/******************* Firmware file definitions *******************/
|
||||
|
||||
#define IMGU_FW_NAME "intel/ipu3-fw.bin"
|
||||
#define IMGU_FW_NAME "intel/ipu3-fw.bin"
|
||||
#define IMGU_FW_NAME_20161208 \
|
||||
"intel/irci_irci_ecr-master_20161208_0213_20170112_1500.bin"
|
||||
|
||||
typedef u32 imgu_fw_ptr;
|
||||
|
||||
|
|
Loading…
Reference in New Issue