mirror of https://github.com/thesofproject/sof.git
dw-dma: Fix channel status for CNL
At the end of the DMA, we need to set the channel status into parapre, otherwise next dma start will fail. This will fix CNL pause resume issues. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
This commit is contained in:
parent
a3fab58d59
commit
c0025344ed
|
@ -1101,6 +1101,7 @@ static void dw_dma_irq_handler(void *data)
|
|||
trace_dma("LSo");
|
||||
/* disable channel, finished */
|
||||
dw_write(dma, DW_DMA_CHAN_EN, CHAN_DISABLE(i));
|
||||
p->chan[i].status = COMP_STATE_PREPARE;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue