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

Commit f914a5d3 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 03efeb85 37c9399e
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -572,6 +572,11 @@ static void msm_vfe40_read_irq_status_and_clear(struct vfe_device *vfe_dev,


	*irq_status0 &= vfe_dev->irq0_mask;
	*irq_status0 &= vfe_dev->irq0_mask;
	*irq_status1 &= vfe_dev->irq1_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)) {
	if (*irq_status1 & (1 << 0)) {
		vfe_dev->error_info.camif_status =
		vfe_dev->error_info.camif_status =