All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: twl6040: Convert HF and HS drivers to use DAPM OUT_DRV widget
@ 2010-12-20 16:39 Olaya, Margarita
  2010-12-20 16:44 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Olaya, Margarita @ 2010-12-20 16:39 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel

Make the phoenix HS and HF drivers use the new DAPM driver
widget in order to guarantee power ON/OFF order sequence.

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

diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 2f68f59..4bbf1b1 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -1138,19 +1138,19 @@ static const struct snd_soc_dapm_widget twl6040_dapm_widgets[] = {
 			SND_SOC_NOPM, 0, 0, &hsr_mux_controls),
 
 	/* Analog playback drivers */
-	SND_SOC_DAPM_PGA_E("Handsfree Left Driver",
+	SND_SOC_DAPM_OUT_DRV_E("Handsfree Left Driver",
 			TWL6040_REG_HFLCTL, 4, 0, NULL, 0,
 			pga_event,
 			SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD),
-	SND_SOC_DAPM_PGA_E("Handsfree Right Driver",
+	SND_SOC_DAPM_OUT_DRV_E("Handsfree Right Driver",
 			TWL6040_REG_HFRCTL, 4, 0, NULL, 0,
 			pga_event,
 			SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD),
-	SND_SOC_DAPM_PGA_E("Headset Left Driver",
+	SND_SOC_DAPM_OUT_DRV_E("Headset Left Driver",
 			TWL6040_REG_HSLCTL, 2, 0, NULL, 0,
 			pga_event,
 			SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD),
-	SND_SOC_DAPM_PGA_E("Headset Right Driver",
+	SND_SOC_DAPM_OUT_DRV_E("Headset Right Driver",
 			TWL6040_REG_HSRCTL, 2, 0, NULL, 0,
 			pga_event,
 			SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD),
-- 
1.7.0.4

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

* Re: [PATCH] ASoC: twl6040: Convert HF and HS drivers to use DAPM OUT_DRV widget
  2010-12-20 16:39 [PATCH] ASoC: twl6040: Convert HF and HS drivers to use DAPM OUT_DRV widget Olaya, Margarita
@ 2010-12-20 16:44 ` Mark Brown
  2010-12-21 13:56   ` Liam Girdwood
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2010-12-20 16:44 UTC (permalink / raw)
  To: Olaya, Margarita; +Cc: alsa-devel, Liam Girdwood

On Mon, Dec 20, 2010 at 10:39:20AM -0600, Olaya, Margarita wrote:
> Make the phoenix HS and HF drivers use the new DAPM driver
> widget in order to guarantee power ON/OFF order sequence.
> 
> Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

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

* Re: [PATCH] ASoC: twl6040: Convert HF and HS drivers to use DAPM OUT_DRV widget
  2010-12-20 16:44 ` Mark Brown
@ 2010-12-21 13:56   ` Liam Girdwood
  0 siblings, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2010-12-21 13:56 UTC (permalink / raw)
  To: Mark Brown; +Cc: Olaya, Margarita, alsa-devel

On Mon, 2010-12-20 at 16:44 +0000, Mark Brown wrote:
> On Mon, Dec 20, 2010 at 10:39:20AM -0600, Olaya, Margarita wrote:
> > Make the phoenix HS and HF drivers use the new DAPM driver
> > widget in order to guarantee power ON/OFF order sequence.
> > 
> > Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
> 
> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Applied

Thanks

Liam
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-20 16:39 [PATCH] ASoC: twl6040: Convert HF and HS drivers to use DAPM OUT_DRV widget Olaya, Margarita
2010-12-20 16:44 ` Mark Brown
2010-12-21 13:56   ` Liam Girdwood

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.