aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/kirkwood
diff options
context:
space:
mode:
authorJoachim Eastwood <joachim.eastwood@jotron.com>2011-12-31 20:43:03 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-20 08:58:26 -0500
commit350e16d5293b54e2ef105ebd777f43dbe5a15ffa (patch)
treef5afacc9cdf4dff3c15a9529c45a0d4852d82e4e /sound/soc/kirkwood
parent6296914ccefe6efefee811436dd7cfad6545f2eb (diff)
ASoC: replace 0xffffffff with DMA_BIT_MASK macro
Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/kirkwood')
-rw-r--r--sound/soc/kirkwood/kirkwood-dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c
index d03854027128..b9f16598324c 100644
--- a/sound/soc/kirkwood/kirkwood-dma.c
+++ b/sound/soc/kirkwood/kirkwood-dma.c
@@ -55,7 +55,7 @@ static struct snd_pcm_hardware kirkwood_dma_snd_hw = {
55 .fifo_size = 0, 55 .fifo_size = 0,
56}; 56};
57 57
58static u64 kirkwood_dma_dmamask = 0xFFFFFFFFUL; 58static u64 kirkwood_dma_dmamask = DMA_BIT_MASK(32);
59 59
60static irqreturn_t kirkwood_dma_irq(int irq, void *dev_id) 60static irqreturn_t kirkwood_dma_irq(int irq, void *dev_id)
61{ 61{
@@ -324,7 +324,7 @@ static int kirkwood_dma_new(struct snd_soc_pcm_runtime *rtd)
324 if (!card->dev->dma_mask) 324 if (!card->dev->dma_mask)
325 card->dev->dma_mask = &kirkwood_dma_dmamask; 325 card->dev->dma_mask = &kirkwood_dma_dmamask;
326 if (!card->dev->coherent_dma_mask) 326 if (!card->dev->coherent_dma_mask)
327 card->dev->coherent_dma_mask = 0xffffffff; 327 card->dev->coherent_dma_mask = DMA_BIT_MASK(32);
328 328
329 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { 329 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) {
330 ret = kirkwood_dma_preallocate_dma_buffer(pcm, 330 ret = kirkwood_dma_preallocate_dma_buffer(pcm,