Commit 7f99a421 authored by Adrian Hunter's avatar Adrian Hunter Committed by Vinod Koul
Browse files

dmaengine: intel_mid_dma: fix error status mask



The error status mask (MASK_ERR) has the same format as the other
masks (MASK_TFR, MASK_BLOCK etc) and must be cleared the same way.

Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@linux.intel.com>
parent b63fd6ce
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1056,7 +1056,8 @@ static irqreturn_t intel_mid_dma_interrupt(int irq, void *data)
	}
	}
	err_status &= mid->intr_mask;
	err_status &= mid->intr_mask;
	if (err_status) {
	if (err_status) {
		iowrite32(MASK_INTR_REG(err_status), mid->dma_base + MASK_ERR);
		iowrite32((err_status << INT_MASK_WE),
			  mid->dma_base + MASK_ERR);
		call_tasklet = 1;
		call_tasklet = 1;
	}
	}
	if (call_tasklet)
	if (call_tasklet)