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

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
...@@ -1056,7 +1056,8 @@ static irqreturn_t intel_mid_dma_interrupt(int irq, void *data) ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment