[PATCH]Use DMA_BIT_MASK(32) instead of deprecated DMA_32BIT_MASK

From: Marin Mitov
Date: Sun Nov 08 2009 - 11:04:52 EST


Hi all,

Use DMA_BIT_MASK(32) instead of deprecated DMA_32BIT_MASK

Signed-off-by: Marin Mitov <mitov@xxxxxxxxxxx>

=========================================================
--- sound/soc/s6000/s6000-pcm.c.orig 2009-11-08 17:49:09.000000000 +0200
+++ sound/soc/s6000/s6000-pcm.c 2009-11-08 17:50:56.000000000 +0200
@@ -423,7 +423,7 @@
snd_pcm_lib_preallocate_free_for_all(pcm);
}

-static u64 s6000_pcm_dmamask = DMA_32BIT_MASK;
+static u64 s6000_pcm_dmamask = DMA_BIT_MASK(32);

static int s6000_pcm_new(struct snd_card *card,
struct snd_soc_dai *dai, struct snd_pcm *pcm)
@@ -435,7 +435,7 @@
if (!card->dev->dma_mask)
card->dev->dma_mask = &s6000_pcm_dmamask;
if (!card->dev->coherent_dma_mask)
- card->dev->coherent_dma_mask = DMA_32BIT_MASK;
+ card->dev->coherent_dma_mask = DMA_BIT_MASK(32);

if (params->dma_in) {
s6dmac_disable_chan(DMA_MASK_DMAC(params->dma_in),
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/