aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2009-11-02 07:34:54 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-11-02 12:28:00 -0500
commitb3f5a272a33ef06a37cd44703c46ec916b8a1c93 (patch)
tree209c62a4e61c122e910298ea26a78c8abde9151a /sound/soc/codecs
parent89933dee5b17c09f2673c2bfd853625a848f91f5 (diff)
ASoC: TWL4030: Make sure, that the codec is powered on startup
Set the codec->bias_level to SND_SOC_BIAS_OFF before changing the initial bias level to STANDBY. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/twl4030.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index f9121ef7fe5c..c0b47dfc3328 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -2234,6 +2234,7 @@ static int __devinit twl4030_codec_probe(struct platform_device *pdev)
2234 2234
2235 /* Set the defaults, and power up the codec */ 2235 /* Set the defaults, and power up the codec */
2236 twl4030_init_chip(codec); 2236 twl4030_init_chip(codec);
2237 codec->bias_level = SND_SOC_BIAS_OFF;
2237 twl4030_set_bias_level(codec, SND_SOC_BIAS_STANDBY); 2238 twl4030_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
2238 2239
2239 ret = snd_soc_register_codec(codec); 2240 ret = snd_soc_register_codec(codec);