Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6abe6c3 authored by Vikram Sharma's avatar Vikram Sharma
Browse files

msm: camera: csid: Increment error count for ERROR_CRC and ERROR_ECC



This change will help recovring from multiple CRC and ECC errors.

CRs-Fixed: 2715172
Change-Id: Ie76703a100b1b90b3bf8a9c47deac1a5d5654c00
Signed-off-by: default avatarVikram Sharma <vikramsa@codeaurora.org>
parent c96c341d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4584,16 +4584,19 @@ irqreturn_t cam_ife_csid_irq(int irq_num, void *data)
			CSID_CSI2_RX_ERROR_CPHY_PH_CRC) {
			CAM_ERR_RATE_LIMIT(CAM_ISP, "CSID:%d CPHY_PH_CRC",
				csid_hw->hw_intf->hw_idx);
			csid_hw->error_irq_count++;
		}
		if (irq_status[CAM_IFE_CSID_IRQ_REG_RX] &
			CSID_CSI2_RX_ERROR_CRC) {
			CAM_ERR_RATE_LIMIT(CAM_ISP, "CSID:%d ERROR_CRC",
				csid_hw->hw_intf->hw_idx);
			csid_hw->error_irq_count++;
		}
		if (irq_status[CAM_IFE_CSID_IRQ_REG_RX] &
			CSID_CSI2_RX_ERROR_ECC) {
			CAM_ERR_RATE_LIMIT(CAM_ISP, "CSID:%d ERROR_ECC",
				csid_hw->hw_intf->hw_idx);
			csid_hw->error_irq_count++;
		}
		if (irq_status[CAM_IFE_CSID_IRQ_REG_RX] &
			CSID_CSI2_RX_ERROR_MMAPPED_VC_DT) {