diff options
author | Barry Song <21cnbao@gmail.com> | 2009-12-25 01:10:07 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-12-30 13:30:27 -0500 |
commit | 08ba864e2789a94c259b8d0aee13a5a183edd46e (patch) | |
tree | acd6133efc69001aed1fef946ca62a85dba2ba46 /sound/soc/codecs/ad1938.c | |
parent | afe1c2cd71eb4e0fade720b5709722e7124f29c0 (diff) |
ASoC: ad1938: fix typo, rename mask to rx_mask for ad1938_set_tdm_slot
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>
Diffstat (limited to 'sound/soc/codecs/ad1938.c')
-rw-r--r-- | sound/soc/codecs/ad1938.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ad1938.c b/sound/soc/codecs/ad1938.c index 5d489186c05b..735c3562d20d 100644 --- a/sound/soc/codecs/ad1938.c +++ b/sound/soc/codecs/ad1938.c | |||
@@ -145,7 +145,7 @@ static inline int ad1938_pll_powerctrl(struct snd_soc_codec *codec, int cmd) | |||
145 | } | 145 | } |
146 | 146 | ||
147 | static int ad1938_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, | 147 | static int ad1938_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, |
148 | unsigned int mask, int slots, int width) | 148 | unsigned int rx_mask, int slots, int width) |
149 | { | 149 | { |
150 | struct snd_soc_codec *codec = dai->codec; | 150 | struct snd_soc_codec *codec = dai->codec; |
151 | int dac_reg = codec->read(codec, AD1938_DAC_CTRL1); | 151 | int dac_reg = codec->read(codec, AD1938_DAC_CTRL1); |