Skip to content

Commit

Permalink
ASoC: twl6040: Fix Stream DAPM mapping
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Oct 4, 2012
1 parent 9911f7f commit 07ac229
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sound/soc/codecs/twl6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit 07ac229

Please sign in to comment.