From: Adrian Hunter Date: Tue, 31 Jan 2012 10:48:59 +0000 (+0200) Subject: dmaengine: intel_mid_dma: fix error status mask X-Git-Tag: MMI-PSA29.97-13-9~17121^2~43 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7f99a4216d68f6d75d5d544aa265d72f193bad7f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Adrian Hunter Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/intel_mid_dma.c b/drivers/dma/intel_mid_dma.c index 74f70aadf9e4..512e2ab3febb 100644 --- a/drivers/dma/intel_mid_dma.c +++ b/drivers/dma/intel_mid_dma.c @@ -1056,7 +1056,8 @@ static irqreturn_t intel_mid_dma_interrupt(int irq, void *data) } err_status &= mid->intr_mask; 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; } if (call_tasklet)