summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorEduardo Valentin2009-08-20 15:18:22 +0200
committerMark Brown2009-08-20 21:10:28 +0200
commita152ff24b9784ddfd347953f23c53f0b890ebca8 (patch)
tree96efc4a657210ff0b2dd964256f85d6938931002 /sound/soc
parentASoC: OMAP: Enable DMA burst mode (diff)
downloadkernel-qcow2-linux-a152ff24b9784ddfd347953f23c53f0b890ebca8.tar.gz
kernel-qcow2-linux-a152ff24b9784ddfd347953f23c53f0b890ebca8.tar.xz
kernel-qcow2-linux-a152ff24b9784ddfd347953f23c53f0b890ebca8.zip
ASoC: OMAP: Make DMA 64 aligned
Align DMA address to DMA burst transaction sizes. 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/soc')
-rw-r--r--sound/soc/omap/omap-pcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c
index 7cae7c418083..b9633d5a9557 100644
--- a/sound/soc/omap/omap-pcm.c
+++ b/sound/soc/omap/omap-pcm.c
@@ -310,7 +310,7 @@ static struct snd_pcm_ops omap_pcm_ops = {
.mmap = omap_pcm_mmap,
};
-static u64 omap_pcm_dmamask = DMA_BIT_MASK(32);
+static u64 omap_pcm_dmamask = DMA_BIT_MASK(64);
static int omap_pcm_preallocate_dma_buffer(struct snd_pcm *pcm,
int stream)
@@ -360,7 +360,7 @@ static int omap_pcm_new(struct snd_card *card, struct snd_soc_dai *dai,
if (!card->dev->dma_mask)
card->dev->dma_mask = &omap_pcm_dmamask;
if (!card->dev->coherent_dma_mask)
- card->dev->coherent_dma_mask = DMA_BIT_MASK(32);
+ card->dev->coherent_dma_mask = DMA_BIT_MASK(64);
if (dai->playback.channels_min) {
ret = omap_pcm_preallocate_dma_buffer(pcm,