浏览代码

msm: camera: isp: Reset device enabled during CSID stop

Device enabled flag is not set during stop preventing the
buf done irq mask to be set during next start without disabling
the core.
This commit adds device_enabled flag to false during csid stop
call.

CRs-Fixed: 2943893
Change-Id: Ic9c6a86219a6e3761b50817c94c0e6b89a6fde95
Signed-off-by: Gaurav Jindal <[email protected]>
Gaurav Jindal 4 年之前
父节点
当前提交
4ea7741460
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver2.c

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

@@ -3920,6 +3920,7 @@ int cam_ife_csid_ver2_stop(void *hw_priv,
 	reset.reset_type = CAM_IFE_CSID_RESET_PATH;
 	cam_ife_csid_ver2_reset(hw_priv, &reset,
 		sizeof(struct cam_csid_reset_cfg_args));
+	csid_hw->flags.device_enabled = false;
 
 	return rc;
 }