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:
Sebastian Andrzej Siewior 2013-11-04 13:51:53 +01:00 committed by Vinod Koul
parent 50a9c70714
commit 262093791b

View file

@ -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)) {