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

Commit f9714298 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: isp: Prevents interrupt storm on ISPIF overflow."

parents 2f50f976 3c49d3af
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1323,6 +1323,12 @@ static inline void msm_ispif_read_irq_status(struct ispif_irq_status *out,
		pr_err_ratelimited("%s: fatal error, stop ispif immediately\n",
			__func__);
		for (i = 0; i < ispif->vfe_info.num_vfe; i++) {
			msm_camera_io_w(0x0,
				ispif->base + ISPIF_VFE_m_IRQ_MASK_0(i));
			msm_camera_io_w(0x0,
				ispif->base + ISPIF_VFE_m_IRQ_MASK_1(i));
			msm_camera_io_w(0x0,
				ispif->base + ISPIF_VFE_m_IRQ_MASK_2(i));
			msm_camera_io_w(ISPIF_STOP_INTF_IMMEDIATELY,
				ispif->base + ISPIF_VFE_m_INTF_CMD_0(i));
			msm_camera_io_w(ISPIF_STOP_INTF_IMMEDIATELY,