diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2009-04-06 22:01:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 11:31:11 -0400 |
commit | 284901a90a9e0b812ca3f5f852cbbfb60d10249d (patch) | |
tree | 06c1b5a0f83c90cfb662f756e7781977ce739ce8 /sound/soc/pxa | |
parent | 6afd142fd0dfba497246d0fab236c20a7b4bf778 (diff) |
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/soc/pxa')
-rw-r--r-- | sound/soc/pxa/pxa2xx-pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c index 53b9fb127a6d..d38e39575f51 100644 --- a/sound/soc/pxa/pxa2xx-pcm.c +++ b/sound/soc/pxa/pxa2xx-pcm.c | |||
@@ -81,7 +81,7 @@ static struct snd_pcm_ops pxa2xx_pcm_ops = { | |||
81 | .mmap = pxa2xx_pcm_mmap, | 81 | .mmap = pxa2xx_pcm_mmap, |
82 | }; | 82 | }; |
83 | 83 | ||
84 | static u64 pxa2xx_pcm_dmamask = DMA_32BIT_MASK; | 84 | static u64 pxa2xx_pcm_dmamask = DMA_BIT_MASK(32); |
85 | 85 | ||
86 | static int pxa2xx_soc_pcm_new(struct snd_card *card, struct snd_soc_dai *dai, | 86 | static int pxa2xx_soc_pcm_new(struct snd_card *card, struct snd_soc_dai *dai, |
87 | struct snd_pcm *pcm) | 87 | struct snd_pcm *pcm) |
@@ -91,7 +91,7 @@ static int pxa2xx_soc_pcm_new(struct snd_card *card, struct snd_soc_dai *dai, | |||
91 | if (!card->dev->dma_mask) | 91 | if (!card->dev->dma_mask) |
92 | card->dev->dma_mask = &pxa2xx_pcm_dmamask; | 92 | card->dev->dma_mask = &pxa2xx_pcm_dmamask; |
93 | if (!card->dev->coherent_dma_mask) | 93 | if (!card->dev->coherent_dma_mask) |
94 | card->dev->coherent_dma_mask = DMA_32BIT_MASK; | 94 | card->dev->coherent_dma_mask = DMA_BIT_MASK(32); |
95 | 95 | ||
96 | if (dai->playback.channels_min) { | 96 | if (dai->playback.channels_min) { |
97 | ret = pxa2xx_pcm_preallocate_dma_buffer(pcm, | 97 | ret = pxa2xx_pcm_preallocate_dma_buffer(pcm, |