Skip to content

Commit

Permalink
ASoC: Update AD1938 for new TDM slot API
Browse files Browse the repository at this point in the history
It's only actually paying attention to the slot count anyway.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Aug 12, 2009
1 parent e0026be commit d2a3821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/ad1938.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ static inline int ad1938_pll_powerctrl(struct snd_soc_codec *codec, int cmd)
return 0;
}

static int ad1938_set_tdm_slot(struct snd_soc_dai *dai,
unsigned int mask, int slots)
static int ad1938_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask,
unsigned int 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 d2a3821

Please sign in to comment.