소스 검색

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