From 8570262453322571fbe8b26d3a284813735b2ef2 Mon Sep 17 00:00:00 2001 From: Ayush Kumar Date: Mon, 19 Apr 2021 16:38:46 +0530 Subject: [PATCH] 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 --- .../cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c b/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c index 91c9cabf0af4..84c286ba3bfe 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c @@ -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;