Skip to content

Commit 242fc66

Browse files
committed
ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets
The fsl-asoc-card AC'97 support currently tries to route to Playback and Capture widgets provided by the AC'97 CODEC. This doesn't work since the generic AC'97 driver registers with an "AC97" at the front of the stream and hence widget names, update to reflect reality. It's not clear to me if or how this ever worked. Acked-by: Shengjiu Wang <[email protected]> Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8c6a42b commit 242fc66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/fsl/fsl-asoc-card.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ static const struct snd_soc_dapm_route audio_map[] = {
121121

122122
static const struct snd_soc_dapm_route audio_map_ac97[] = {
123123
/* 1st half -- Normal DAPM routes */
124-
{"Playback", NULL, "CPU AC97 Playback"},
125-
{"CPU AC97 Capture", NULL, "Capture"},
124+
{"AC97 Playback", NULL, "CPU AC97 Playback"},
125+
{"CPU AC97 Capture", NULL, "AC97 Capture"},
126126
/* 2nd half -- ASRC DAPM routes */
127127
{"CPU AC97 Playback", NULL, "ASRC-Playback"},
128128
{"ASRC-Capture", NULL, "CPU AC97 Capture"},

0 commit comments

Comments
 (0)