msm: camera: isp: Reset csid error irq count on flush

This change is to reset csid_error_irq_count on flush
to prevent from recovery.

CRs-Fixed: 2926200
Change-Id: I8568fdc679317e41c31f4aeb9cf8c3ae579d8448
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
This commit is contained in:
Ayush Kumar 2021-04-19 16:38:46 +05:30
commit 8570262453

View file

@ -4232,6 +4232,8 @@ int cam_ife_csid_stop(void *hw_priv,
res->res_state = CAM_ISP_RESOURCE_STATE_INIT_HW;
}
csid_hw->error_irq_count = 0;
CAM_DBG(CAM_ISP, "%s: Exit\n", __func__);
return rc;