ASoC: tlv320dac33: Fix compillation error
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Wed, 8 Dec 2010 13:12:56 +0000 (15:12 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 9 Dec 2010 09:44:48 +0000 (09:44 +0000)
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>
sound/soc/codecs/tlv320dac33.c

index cee0f99..b3445b3 100644 (file)
@@ -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) {