Commit bbf3f782 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: atomisp: add firmware load code for ISP2401 rev B0

The Asus Transformer T101HA comes with a newer hardware
version. Add support to load firmware for it.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 3c0538fb
...@@ -1448,6 +1448,11 @@ atomisp_load_firmware(struct atomisp_device *isp) ...@@ -1448,6 +1448,11 @@ atomisp_load_firmware(struct atomisp_device *isp)
if (skip_fwload) if (skip_fwload)
return NULL; return NULL;
if (isp->media_dev.hw_revision ==
((ATOMISP_HW_REVISION_ISP2401 << ATOMISP_HW_REVISION_SHIFT)
| ATOMISP_HW_STEPPING_B0))
fw_path = "shisp_2401b0_v21.bin";
if (isp->media_dev.hw_revision == if (isp->media_dev.hw_revision ==
((ATOMISP_HW_REVISION_ISP2401 << ATOMISP_HW_REVISION_SHIFT) ((ATOMISP_HW_REVISION_ISP2401 << ATOMISP_HW_REVISION_SHIFT)
| ATOMISP_HW_STEPPING_A0)) | ATOMISP_HW_STEPPING_A0))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment