[alsa-devel] [PATCH 1/2] ASoC: tegra+alc5632: Swap MICBIAS1 and MIC1 dapm widgets

Marc Dietrich marvin24 at gmx.de
Sat Jul 7 15:36:29 CEST 2012


From: Andrey Danin <danindrey at mail.ru>

MICBIAS1 is an internal widget. If MICBIAS1 is connected to the board
driver instead of the MIC1 ASoC core, it enables widgets even if the
capture stream isn't active.

Cc: Leon Romanovsky <leon at leon.nu>
Signed-off-by: Andrey Danin <danindrey at mail.ru>
Signed-off-by: Marc Dietrich <marvin24 at gmx.de>
---
 sound/soc/codecs/alc5632.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c
index 7dd0242..8609a86 100644
--- a/sound/soc/codecs/alc5632.c
+++ b/sound/soc/codecs/alc5632.c
@@ -551,8 +551,10 @@ static const struct snd_soc_dapm_route alc5632_dapm_routes[] = {
 	{"Left LineIn", NULL,				"LINEINL"},
 	{"Right LineIn", NULL,				"LINEINR"},
 	{"Phone", NULL,				"PHONEP"},
-	{"MIC1 Pre Amp", NULL,				"MIC1"},
-	{"MIC2 Pre Amp", NULL,				"MIC2"},
+	{"MICBIAS1", NULL,				"MIC1"},
+	{"MIC1 Pre Amp", NULL,				"MICBIAS1"},
+	{"MICBIAS2", NULL,				"MIC2"},
+	{"MIC2 Pre Amp", NULL,				"MICBIAS2"},
 	{"MIC1 PGA", NULL,				"MIC1 Pre Amp"},
 	{"MIC2 PGA", NULL,				"MIC2 Pre Amp"},
 
-- 
1.7.9.5



More information about the Alsa-devel mailing list