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

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 codec.
Signed-off-by: Peter Ujfalusi peter.ujfalusi@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, Peter
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"},

On Thu, Oct 04, 2012 at 02:15:02PM +0300, Peter Ujfalusi wrote:
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 codec.
Applied, thanks.
participants (2)
-
Mark Brown
-
Peter Ujfalusi