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

Commit 0267b3cf 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: Clear irq status if irq is set again with same value"

parents 5de1a28a 26f81bc5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -591,6 +591,11 @@ static void msm_vfe40_read_and_clear_irq_status(struct vfe_device *vfe_dev,

	*irq_status0 &= vfe_dev->irq0_mask;
	*irq_status1 &= vfe_dev->irq1_mask;
	if (*irq_status0 &&
		(*irq_status0 == msm_camera_io_r(vfe_dev->vfe_base + 0x38))) {
		msm_camera_io_w(*irq_status0, vfe_dev->vfe_base + 0x30);
		msm_camera_io_w_mb(1, vfe_dev->vfe_base + 0x24);
	}

	if (*irq_status1 & (1 << 0)) {
		vfe_dev->error_info.camif_status =