[PATCH] ASoC: Zoom2: Update twl4030_setup_data parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
 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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux