Prechádzať zdrojové kódy

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 <[email protected]>
Ayush Kumar 4 rokov pred
rodič
commit
076ae1c12c

+ 2 - 0
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver1.c

@@ -3252,6 +3252,8 @@ int cam_ife_csid_ver1_stop(void *hw_priv,
 		res->res_state = CAM_ISP_RESOURCE_STATE_INIT_HW;
 	}
 
+	csid_hw->counters.error_irq_count = 0;
+
 	return rc;
 }