diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2012-01-31 11:48:59 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-02-22 13:41:48 +0100 |
commit | 7f99a4216d68f6d75d5d544aa265d72f193bad7f (patch) | |
tree | b8c40c704c886138e52c531d158773bb5d89b881 /drivers/dma/intel_mid_dma.c | |
parent | i.MX SDMA: Fix burstsize settings (diff) | |
download | linux-7f99a4216d68f6d75d5d544aa265d72f193bad7f.tar.xz linux-7f99a4216d68f6d75d5d544aa265d72f193bad7f.zip |
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 <adrian.hunter@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/intel_mid_dma.c')
-rw-r--r-- | drivers/dma/intel_mid_dma.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |