fix missing edma changes to EDMA_DMA_COMPLETE status
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
parent
50a9c70714
commit
262093791b
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ static void davinci_pcm_dma_irq(unsigned link, u16 ch_status, void *data)
|
||||||
print_buf_info(prtd->ram_channel, "i ram_channel");
|
print_buf_info(prtd->ram_channel, "i ram_channel");
|
||||||
pr_debug("davinci_pcm: link=%d, status=0x%x\n", link, ch_status);
|
pr_debug("davinci_pcm: link=%d, status=0x%x\n", link, ch_status);
|
||||||
|
|
||||||
if (unlikely(ch_status != DMA_COMPLETE))
|
if (unlikely(ch_status != EDMA_DMA_COMPLETE))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (snd_pcm_running(substream)) {
|
if (snd_pcm_running(substream)) {
|
||||||
|
|
Loading…
Reference in a new issue