Skip to content

Commit

Permalink
ASoC: Use DMA_BIT_MASK(32) instead of deprecated DMA_32BIT_MASK
Browse files Browse the repository at this point in the history
Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Marin Mitov authored and Takashi Iwai committed Nov 17, 2009
1 parent c871a05 commit f9ede4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/s6000/s6000-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ static void s6000_pcm_free(struct snd_pcm *pcm)
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)
Expand All @@ -435,7 +435,7 @@ static int s6000_pcm_new(struct snd_card *card,
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),
Expand Down

0 comments on commit f9ede4e

Please sign in to comment.