projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370a031
)
ASoC: twl6040: Restore bias level at resume
author
Olaya, Margarita
<magi.olaya@ti.com>
Sat, 11 Dec 2010 03:05:46 +0000
(21:05 -0600)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Tue, 14 Dec 2010 20:36:37 +0000
(20:36 +0000)
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>
sound/soc/codecs/twl6040.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/twl6040.c
b/sound/soc/codecs/twl6040.c
index b575fd3ba3fbf3d7150ee1fae818e4da54d735f1..3973bf6889c0ff2ed31ffd24deda76fb84626921 100644
(file)
--- 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)
static int twl6040_resume(struct snd_soc_codec *codec)
{
twl6040_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
+ twl6040_set_bias_level(codec, codec->dapm.suspend_bias_level);
return 0;
}