aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/twl6040.c
diff options
context:
space:
mode:
authorOlaya, Margarita <magi.olaya@ti.com>2010-12-10 22:05:46 -0500
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-12-14 15:36:37 -0500
commit6c311041c1d3d0b9d1fc6ddacd49e50d83ba158a (patch)
treee3b1e8c3ad42b5139f7c50e29ac10014c501039f /sound/soc/codecs/twl6040.c
parent370a0314ff3e1315e7fdec32a88a7ae49ccd22c8 (diff)
ASoC: twl6040: Restore bias level at resume
This patch restores the CODEC bias level at resume(). Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/twl6040.c')
-rw-r--r--sound/soc/codecs/twl6040.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index b575fd3ba3fb..3973bf6889c0 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -1097,6 +1097,7 @@ static int twl6040_suspend(struct snd_soc_codec *codec, pm_message_t state)
1097static int twl6040_resume(struct snd_soc_codec *codec) 1097static int twl6040_resume(struct snd_soc_codec *codec)
1098{ 1098{
1099 twl6040_set_bias_level(codec, SND_SOC_BIAS_STANDBY); 1099 twl6040_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
1100 twl6040_set_bias_level(codec, codec->dapm.suspend_bias_level);
1100 1101
1101 return 0; 1102 return 0;
1102} 1103}