aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@nokia.com>2009-08-20 16:18:21 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-20 20:10:28 +0100
commit9599d485cb0b5ea093414654d723f3ab03c95038 (patch)
treef954cf6291decf1af5334e8cec67be2ec2ca1cc3 /sound
parent72cc6d715d5b018e2cff4adb68966855850d4e77 (diff)
downloadlinux-linaro-precise-9599d485cb0b5ea093414654d723f3ab03c95038.tar.gz
ASoC: OMAP: Enable DMA burst mode
Improve DMA transfers by enabling Burst transaction. Signed-off-by: Eduardo Valentin <eduardo.valentin@nokia.com> Acked-by: Jarkko Nikula <jhnikula@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/omap/omap-pcm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c
index 12e14c01068..7cae7c41808 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;
}