aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-12 09:30:33 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-12 09:30:33 -0400
commitd2a382143b35a486b8089861790d6b3ec4e46932 (patch)
tree6ea3ab68d53698e4829f6ceaf68a6cff10789307 /sound/soc/codecs
parente0026beac0f1a6253488478b3f022ff243b012b9 (diff)
ASoC: Update AD1938 for new TDM slot API
It's only actually paying attention to the slot count anyway. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/ad1938.c4
1 files changed, 2 insertions, 2 deletions
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)
133 return 0; 133 return 0;
134} 134}
135 135
136static int ad1938_set_tdm_slot(struct snd_soc_dai *dai, 136static int ad1938_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask,
137 unsigned int mask, int slots) 137 unsigned int mask, int slots, int width)
138{ 138{
139 struct snd_soc_codec *codec = dai->codec; 139 struct snd_soc_codec *codec = dai->codec;
140 int dac_reg = codec->read(codec, AD1938_DAC_CTRL1); 140 int dac_reg = codec->read(codec, AD1938_DAC_CTRL1);