diff options
author | Joachim Eastwood <joachim.eastwood@jotron.com> | 2011-12-31 20:43:03 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-20 08:58:26 -0500 |
commit | 350e16d5293b54e2ef105ebd777f43dbe5a15ffa (patch) | |
tree | f5afacc9cdf4dff3c15a9529c45a0d4852d82e4e /sound/soc/ep93xx/ep93xx-pcm.c | |
parent | 6296914ccefe6efefee811436dd7cfad6545f2eb (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/ep93xx/ep93xx-pcm.c')
-rw-r--r-- | sound/soc/ep93xx/ep93xx-pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/ep93xx/ep93xx-pcm.c b/sound/soc/ep93xx/ep93xx-pcm.c index de8390449873..32adca38b48b 100644 --- a/sound/soc/ep93xx/ep93xx-pcm.c +++ b/sound/soc/ep93xx/ep93xx-pcm.c | |||
@@ -281,7 +281,7 @@ static void ep93xx_pcm_free_dma_buffers(struct snd_pcm *pcm) | |||
281 | } | 281 | } |
282 | } | 282 | } |
283 | 283 | ||
284 | static u64 ep93xx_pcm_dmamask = 0xffffffff; | 284 | static u64 ep93xx_pcm_dmamask = DMA_BIT_MASK(32); |
285 | 285 | ||
286 | static int ep93xx_pcm_new(struct snd_soc_pcm_runtime *rtd) | 286 | static int ep93xx_pcm_new(struct snd_soc_pcm_runtime *rtd) |
287 | { | 287 | { |
@@ -292,7 +292,7 @@ static int ep93xx_pcm_new(struct snd_soc_pcm_runtime *rtd) | |||
292 | if (!card->dev->dma_mask) | 292 | if (!card->dev->dma_mask) |
293 | card->dev->dma_mask = &ep93xx_pcm_dmamask; | 293 | card->dev->dma_mask = &ep93xx_pcm_dmamask; |
294 | if (!card->dev->coherent_dma_mask) | 294 | if (!card->dev->coherent_dma_mask) |
295 | card->dev->coherent_dma_mask = 0xffffffff; | 295 | card->dev->coherent_dma_mask = DMA_BIT_MASK(32); |
296 | 296 | ||
297 | if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { | 297 | if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { |
298 | ret = ep93xx_pcm_preallocate_dma_buffer(pcm, | 298 | ret = ep93xx_pcm_preallocate_dma_buffer(pcm, |