[alsa-devel] [PATCH] ASoC: Zoom2: Update twl4030_setup_data parameters

Jorge Eduardo Candelaria x0107209 at ti.com
Thu Jun 25 04:27:13 CEST 2009


Add EXT_MUTE support in Zoom2 machine driver. Member ext_mute_gpio
is passed to TWL4030 as an external mute control for headset power
on/off sequence. This is necessary to further reduce pop noise
problem. Gpio 153 is connected to signal EXT_MUTE in Zoom2 board.

In addition, change ramp delay value to 3 (218/161/109 ms). With
previous ramp delay value, pop noise was louder, and with any
longer value beep tone can be observed.

Signed-off-by: Jorge Eduardo Candelaria <x0107209 at ti.com>
---
 sound/soc/omap/zoom2.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sound/soc/omap/zoom2.c b/sound/soc/omap/zoom2.c
index 3de6d2b..8941f45 100644
--- a/sound/soc/omap/zoom2.c
+++ b/sound/soc/omap/zoom2.c
@@ -236,8 +236,9 @@ static struct snd_soc_card snd_soc_zoom2 = {
 
 /* twl4030 setup */
 static struct twl4030_setup_data twl4030_setup = {
-	.ramp_delay_value = 2,	/* 81 ms */
+	.ramp_delay_value = 3,	/* 161 ms */
 	.sysclk = 26000,
+	.ext_mute_gpio = 153,
 };
 
 /* Audio subsystem */
-- 
1.6.0.4



More information about the Alsa-devel mailing list