Fix checkpatch issues and typos of ad1938 codec and bf5xx-tdm dai
Subsystems (3)
PATCH 1/1 Fix checkpatch issues and typos of ad1938 codec and bf5xx-tdm dai
1. fix "line over 80 characters" checkpatch warnings
2. ‘DMA_nnBIT_MASK’ is deprecated, use DMA_BIT_MASK instead
3. fix typos
Signed-off-by Barry Song <[email protected]>
--- sound/soc/blackfin/bf5xx-tdm-pcm.c | 4 +- sound/soc/blackfin/bf5xx-tdm-pcm.h | 2 +- sound/soc/blackfin/bf5xx-tdm.h | 2 +- sound/soc/codecs/ad1938.c | 50 +++++++++++++++++++++++------------ 4 files changed, 37 insertions(+), 21 deletions(-)
sound/soc/blackfin/bf5xx-tdm-pcm.c +2 -2
@@ -276,7 +276,7 @@ static void bf5xx_pcm_free_dma_buffers(struct snd_pcm *pcm)sport_done (sport_handle); } -static u64 bf5xx_pcm_dmamask =DMA_32BIT_MASK ; +static u64 bf5xx_pcm_dmamask =DMA_BIT_MASK (32 );static int bf5xx_pcm_tdm_new (struct snd_card *card,struct snd_soc_dai *dai,struct snd_pcm *pcm)
@@ -286,7 +286,7 @@ static int bf5xx_pcm_tdm_new(struct snd_card *card, struct snd_soc_dai *dai,if (!card->dev->dma_mask) card->dev->dma_mask = &bf5xx_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 (dai->playback.channels_min) { ret = bf5xx_pcm_preallocate_dma_buffer(pcm,
sound/soc/blackfin/bf5xx-tdm-pcm.h +1 -1
@@ -1,5 +1,5 @@/* -* linux/sound/arm/bf5xx-tdm-pcm.h -- ALSA PCM interface for the Blackfin +* sound/soc/blackfin/bf5xx-tdm-pcm.h -- ALSA PCM interface for the Blackfin * * Copyright 2009 Analog Device Inc. *
sound/soc/blackfin/bf5xx-tdm.h +1 -1
@@ -1,5 +1,5 @@/* -* linux/sound/arm/bf5xx-i2s.h +* sound/soc/blackfin/bf5xx-tdm.h * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as
sound/soc/codecs/ad1938.c +33 -17
88 lines not on this page · raw message
Signature · 6 lines
1.5.6.3 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 5 lines · Barry Song
1. fix "line over 80 characters" checkpatch warnings
2. ‘DMA_nnBIT_MASK’ is deprecated, useDMA_BIT_MASKinstead
3. fix typosSigned-off-by Barry Song <[email protected]>
Applied, thanks.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel