Commit 9599d485 authored by Eduardo Valentin's avatar Eduardo Valentin Committed by Mark Brown

ASoC: OMAP: Enable DMA burst mode

Improve DMA transfers by enabling Burst transaction.
Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@nokia.com>
Acked-by: default avatarJarkko Nikula <jhnikula@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 72cc6d71
...@@ -195,6 +195,9 @@ static int omap_pcm_prepare(struct snd_pcm_substream *substream) ...@@ -195,6 +195,9 @@ static int omap_pcm_prepare(struct snd_pcm_substream *substream)
else else
omap_enable_dma_irq(prtd->dma_ch, OMAP_DMA_FRAME_IRQ); omap_enable_dma_irq(prtd->dma_ch, OMAP_DMA_FRAME_IRQ);
omap_set_dma_src_burst_mode(prtd->dma_ch, OMAP_DMA_DATA_BURST_16);
omap_set_dma_dest_burst_mode(prtd->dma_ch, OMAP_DMA_DATA_BURST_16);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment