mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
b63fd6ce71
commit
7f99a4216d
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue