All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 05/15] ASoC: twl6040: Restore bias level at resume
@ 2010-12-07  0:17 Olaya, Margarita
  2010-12-07 13:24 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Olaya, Margarita @ 2010-12-07  0:17 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel@alsa-project.org

This patch restores the CODEC bias level at resume().

Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
---
 sound/soc/codecs/twl6040.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 7417b50..81bf781 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -1072,6 +1072,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;
 }
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 05/15] ASoC: twl6040: Restore bias level at resume
  2010-12-07  0:17 [PATCH 05/15] ASoC: twl6040: Restore bias level at resume Olaya, Margarita
@ 2010-12-07 13:24 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2010-12-07 13:24 UTC (permalink / raw)
  To: Olaya, Margarita; +Cc: alsa-devel@alsa-project.org, Liam Girdwood

On Mon, Dec 06, 2010 at 06:17:56PM -0600, Olaya, Margarita wrote:
> 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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-07 13:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-07  0:17 [PATCH 05/15] ASoC: twl6040: Restore bias level at resume Olaya, Margarita
2010-12-07 13:24 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.