summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tlv320dac33.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2010-12-08 14:12:56 +0100
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-12-09 10:44:48 +0100
commit3ee4fe15aba7531f75be4dcc331caa8f0c6369ec (patch)
tree0a4f9baac14d3c0f3cf05188a3353943d6e9acaa /sound/soc/codecs/tlv320dac33.c
parentASoC: tlv320dac33: Move DAC LR power on to a supply widget (diff)
downloadlinux-3ee4fe15aba7531f75be4dcc331caa8f0c6369ec.tar.xz
linux-3ee4fe15aba7531f75be4dcc331caa8f0c6369ec.zip
ASoC: tlv320dac33: Fix compillation error
Fix the compilation error introduced by patch: ASoC: tlv320dac33: Avoid multiple soft power up Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/tlv320dac33.c')
-rw-r--r--sound/soc/codecs/tlv320dac33.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c
index cee0f9912408..b3445b362e96 100644
--- a/sound/soc/codecs/tlv320dac33.c
+++ b/sound/soc/codecs/tlv320dac33.c
@@ -646,6 +646,7 @@ static int dac33_add_widgets(struct snd_soc_codec *codec)
static int dac33_set_bias_level(struct snd_soc_codec *codec,
enum snd_soc_bias_level level)
{
+ struct tlv320dac33_priv *dac33 = snd_soc_codec_get_drvdata(codec);
int ret;
switch (level) {