Explorar el Código

msm: camera: isp: Clear previous dual IFE sync config on release

Since IFE HW manager issues dual sync config command only after
acquiring IPP path, CSID driver must clear the dual sync config when IPP
path is released.

CRs-Fixed: 2914494
Change-Id: I5200f120d2fe8305b5692121a07f4e7af801975c
Signed-off-by: Anand Ravi <[email protected]>
Anand Ravi hace 4 años
padre
commit
d2e9a2b541

+ 2 - 0
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver2.c

@@ -2073,6 +2073,8 @@ int cam_ife_csid_ver2_release(void *hw_priv,
 
 	memset(path_cfg, 0, sizeof(*path_cfg));
 
+	csid_hw->sync_mode = CAM_ISP_HW_SYNC_NONE;
+
 	if (csid_hw->counters.csi2_reserve_cnt)
 		csid_hw->counters.csi2_reserve_cnt--;