aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@nokia.com>2009-08-20 09:18:22 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-20 15:10:28 -0400
commita152ff24b9784ddfd347953f23c53f0b890ebca8 (patch)
tree96efc4a657210ff0b2dd964256f85d6938931002 /sound/soc/omap
parent9599d485cb0b5ea093414654d723f3ab03c95038 (diff)
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/omap')
-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 = {
310 .mmap = omap_pcm_mmap, 310 .mmap = omap_pcm_mmap,
311}; 311};
312 312
313static u64 omap_pcm_dmamask = DMA_BIT_MASK(32); 313static u64 omap_pcm_dmamask = DMA_BIT_MASK(64);
314 314
315static int omap_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, 315static int omap_pcm_preallocate_dma_buffer(struct snd_pcm *pcm,
316 int stream) 316 int stream)
@@ -360,7 +360,7 @@ static int omap_pcm_new(struct snd_card *card, struct snd_soc_dai *dai,
360 if (!card->dev->dma_mask) 360 if (!card->dev->dma_mask)
361 card->dev->dma_mask = &omap_pcm_dmamask; 361 card->dev->dma_mask = &omap_pcm_dmamask;
362 if (!card->dev->coherent_dma_mask) 362 if (!card->dev->coherent_dma_mask)
363 card->dev->coherent_dma_mask = DMA_BIT_MASK(32); 363 card->dev->coherent_dma_mask = DMA_BIT_MASK(64);
364 364
365 if (dai->playback.channels_min) { 365 if (dai->playback.channels_min) {
366 ret = omap_pcm_preallocate_dma_buffer(pcm, 366 ret = omap_pcm_preallocate_dma_buffer(pcm,