summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSumit Bhattacharya <sumitb@nvidia.com>2011-06-23 19:31:46 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-07-06 16:18:16 -0700
commitbc4ad6bac69e78bfa3c17d17928619e511e3c863 (patch)
tree6aa3e3441a377aad07579fbeb4a2a68c50ff7711 /sound
parent1a5b2d06e0d64d59932181dd6b4edf708a7ae8a8 (diff)
ASOC: tegra: use continuous single DMA mode
Use continuous single DMA mode instead of continuous double to reduce the number of CPU interrupts during audio playback. bug 840372 Change-Id: Id15dac5e2b29c612f4851b6b1d2e675b79ca047c Reviewed-on: http://git-master/r/39855 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_pcm.c b/sound/soc/tegra/tegra_pcm.c
index b531841cbc7c..8ee01173d6c0 100644
--- a/sound/soc/tegra/tegra_pcm.c
+++ b/sound/soc/tegra/tegra_pcm.c
@@ -233,7 +233,7 @@ static int tegra_pcm_open(struct snd_pcm_substream *substream)
}
prtd->dma_chan = tegra_dma_allocate_channel(
- TEGRA_DMA_MODE_CONTINUOUS_DOUBLE, "pcm");
+ TEGRA_DMA_MODE_CONTINUOUS_SINGLE, "pcm");
if (prtd->dma_chan == NULL) {
pr_err("%s: could not allocate DMA channel for PCM:\n",
__func__);