ASoC: ad1938: fix typo, rename mask to rx_mask for ad1938_set_tdm_slot
authorBarry Song <21cnbao@gmail.com>
Fri, 25 Dec 2009 06:10:07 +0000 (14:10 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 30 Dec 2009 18:30:27 +0000 (18:30 +0000)
Signed-off-by: Barry Song <21cnbao@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ad1938.c

index 5d48918..735c356 100644 (file)
@@ -145,7 +145,7 @@ static inline int ad1938_pll_powerctrl(struct snd_soc_codec *codec, int cmd)
 }
 
 static int ad1938_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask,
-                              unsigned int mask, int slots, int width)
+                              unsigned int rx_mask, int slots, int width)
 {
        struct snd_soc_codec *codec = dai->codec;
        int dac_reg = codec->read(codec, AD1938_DAC_CTRL1);