[alsa-devel] [PATCH] ASoC: cs4271: fix dapm routing table

Daniel Mack zonque at gmail.com
Sun Aug 11 18:06:59 CEST 2013


The widgets are names "AINA" and "AINB", which is also what the
datasheets calls the terminals. Fix the routing table to match these
names.

Signed-off-by: Daniel Mack <zonque at gmail.com>
---
 sound/soc/codecs/cs4271.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
index 35a6a67..a20f1bb 100644
--- a/sound/soc/codecs/cs4271.c
+++ b/sound/soc/codecs/cs4271.c
@@ -184,8 +184,8 @@ SND_SOC_DAPM_OUTPUT("AOUTB-"),
 };
 
 static const struct snd_soc_dapm_route cs4271_dapm_routes[] = {
-	{ "Capture", NULL, "AINL" },
-	{ "Capture", NULL, "AINR" },
+	{ "Capture", NULL, "AINA" },
+	{ "Capture", NULL, "AINB" },
 
 	{ "AOUTA+", NULL, "Playback" },
 	{ "AOUTA-", NULL, "Playback" },
-- 
1.8.3.1



More information about the Alsa-devel mailing list