Commit 8c866426 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: atomisp: unify the version for isp2401 a0 and b0 versions

Based on Yocto Aero's repository, the file name for the isp2401
is the same for the B0 release.

So, unify it at the driver.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 64562679
...@@ -1449,14 +1449,8 @@ atomisp_load_firmware(struct atomisp_device *isp) ...@@ -1449,14 +1449,8 @@ atomisp_load_firmware(struct atomisp_device *isp)
if (skip_fwload) if (skip_fwload)
return NULL; return NULL;
if (isp->media_dev.hw_revision == if ((isp->media_dev.hw_revision >> ATOMISP_HW_REVISION_SHIFT)
((ATOMISP_HW_REVISION_ISP2401 << ATOMISP_HW_REVISION_SHIFT) == ATOMISP_HW_REVISION_ISP2401)
| ATOMISP_HW_STEPPING_B0))
fw_path = "shisp_2401b0_v21.bin";
if (isp->media_dev.hw_revision ==
((ATOMISP_HW_REVISION_ISP2401 << ATOMISP_HW_REVISION_SHIFT)
| ATOMISP_HW_STEPPING_A0))
fw_path = "shisp_2401a0_v21.bin"; fw_path = "shisp_2401a0_v21.bin";
if (isp->media_dev.hw_revision == if (isp->media_dev.hw_revision ==
......
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