Skip to content

Commit

Permalink
ASoC: ad1938: fix typo, rename mask to rx_mask for ad1938_set_tdm_slot
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Barry Song authored and Mark Brown committed Dec 30, 2009
1 parent afe1c2c commit 08ba864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/ad1938.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 08ba864

Please sign in to comment.