浏览代码

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 4 年之前
父节点
当前提交
d2e9a2b541
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver2.c

+ 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--;