From: Mark Brown Date: Wed, 12 Aug 2009 13:30:33 +0000 (+0100) Subject: ASoC: Update AD1938 for new TDM slot API X-Git-Tag: MMI-PSA29.97-13-9~25265^2~202^2~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2a382143b35a486b8089861790d6b3ec4e46932;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ASoC: Update AD1938 for new TDM slot API It's only actually paying attention to the slot count anyway. Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/ad1938.c b/sound/soc/codecs/ad1938.c index aafda743fc8f..2ffb1af152b3 100644 --- a/sound/soc/codecs/ad1938.c +++ b/sound/soc/codecs/ad1938.c @@ -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);