diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver2.c b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver2.c index 8d6d54cbd1..b84c77de91 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver2.c +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver2.c @@ -3910,8 +3910,6 @@ int cam_vfe_bus_ver2_init( return rc; deinit_vfe_out: - if (i < 0) - i = CAM_VFE_BUS_VER2_VFE_OUT_MAX; for (--i; i >= 0; i--) cam_vfe_bus_deinit_vfe_out_resource(&bus_priv->vfe_out[i]); diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_lite_ver3.c b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_lite_ver3.c index 3daa3da85f..7562eb0e5c 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_lite_ver3.c +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_lite_ver3.c @@ -498,10 +498,16 @@ dump_rdi_1: camif_lite_priv->hw_intf->hw_idx); if (!soc_private->is_ife_lite) { for (offset = 0x9C00; offset <= 0x9DFC; offset += 0x4) { + if (offset == 0x9C08) + offset = 0x9C60; val = cam_soc_util_r(camif_lite_priv->soc_info, 0, offset); CAM_INFO(CAM_ISP, "offset 0x%X value 0x%X", offset, val); + if (offset == 0x9C60) + offset = 0x9C64; + else if (offset == 0x9C70) + offset = 0x9DEC; } } else { for (offset = 0x1400; offset <= 0x15FC; offset += 0x4) { @@ -536,7 +542,7 @@ dump_rdi_2: offset, val); if (offset == 0x9E60) offset = 0x9E64; - else if (offset == 0x9E80) + else if (offset == 0x9E70) offset = 0x9FEC; } } else {