From: Eduardo Valentin Date: Thu, 20 Aug 2009 13:18:21 +0000 (+0300) Subject: ASoC: OMAP: Enable DMA burst mode X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9599d485cb0b5ea093414654d723f3ab03c95038;p=openwrt%2Fstaging%2Fblogic.git ASoC: OMAP: Enable DMA burst mode Improve DMA transfers by enabling Burst transaction. Signed-off-by: Eduardo Valentin Acked-by: Jarkko Nikula Signed-off-by: Mark Brown --- diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index 12e14c01068e..7cae7c418083 100644 --- a/sound/soc/omap/omap-pcm.c +++ b/sound/soc/omap/omap-pcm.c @@ -195,6 +195,9 @@ static int omap_pcm_prepare(struct snd_pcm_substream *substream) else 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; }