Commit f9ede4ec authored by Marin Mitov's avatar Marin Mitov Committed by Takashi Iwai

ASoC: Use DMA_BIT_MASK(32) instead of deprecated DMA_32BIT_MASK

Signed-off-by: default avatarMarin Mitov <mitov@issp.bas.bg>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent c871a053
...@@ -423,7 +423,7 @@ static void s6000_pcm_free(struct snd_pcm *pcm) ...@@ -423,7 +423,7 @@ static void s6000_pcm_free(struct snd_pcm *pcm)
snd_pcm_lib_preallocate_free_for_all(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, static int s6000_pcm_new(struct snd_card *card,
struct snd_soc_dai *dai, struct snd_pcm *pcm) struct snd_soc_dai *dai, struct snd_pcm *pcm)
...@@ -435,7 +435,7 @@ static int s6000_pcm_new(struct snd_card *card, ...@@ -435,7 +435,7 @@ static int s6000_pcm_new(struct snd_card *card,
if (!card->dev->dma_mask) if (!card->dev->dma_mask)
card->dev->dma_mask = &s6000_pcm_dmamask; card->dev->dma_mask = &s6000_pcm_dmamask;
if (!card->dev->coherent_dma_mask) 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) { if (params->dma_in) {
s6dmac_disable_chan(DMA_MASK_DMAC(params->dma_in), s6dmac_disable_chan(DMA_MASK_DMAC(params->dma_in),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment