[alsa-devel] [PATCH] ASoC: twl6040: Fix Stream DAPM mapping

Peter Ujfalusi peter.ujfalusi at ti.com
Thu Oct 4 13:15:02 CEST 2012

Fixes commit: 805238b ASoC: twl6040: Convert to use DAI DAPM widgets
where the connection between the stream widgets and the ADC widgets was
reversed and because of this on capture the DAPM is not powering up the

Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>

Hi Mark, Liam,

in the mentioned commit I made a mistake and the DAPM route got reversed for
capture. I did the same change for twl4030 and twl6040 at the same time and only
tested twl4030 - since it was easier for me. Obviously I did it wrong for
twl6040 :(

Can you queue this as a fix for 3.7?

Thank you,

 sound/soc/codecs/twl6040.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index e8f97af..00b85cc 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -820,10 +820,10 @@ static const struct snd_soc_dapm_route intercon[] = {
 	{"VIBRA DAC", NULL, "Vibra Playback"},
 	/* ADC -> Stream mapping */
-	{"ADC Left", NULL, "Legacy Capture"},
-	{"ADC Left", NULL, "Capture"},
-	{"ADC Right", NULL, "Legacy Capture"},
-	{"ADC Right", NULL, "Capture"},
+	{"Legacy Capture" , NULL, "ADC Left"},
+	{"Capture", NULL, "ADC Left"},
+	{"Legacy Capture", NULL, "ADC Right"},
+	{"Capture" , NULL, "ADC Right"},
 	/* Capture path */
 	{"Analog Left Capture Route", "Headset Mic", "HSMIC"},

More information about the Alsa-devel mailing list