aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authormurray foster <mrafoster@gmail.com>2016-10-09 13:28:45 -0700
committerMark Brown <broonie@kernel.org>2016-10-11 15:21:30 +0200
commitaa5f920993bda2095952177eea79bc8e58ae6065 (patch)
treecf0025dd3f9b33f4e4cdc1559345125168506171 /sound
parent513e43efafe329dad7b5794583b67ac898dcbdca (diff)
downloadlinux-aarch64-aa5f920993bda2095952177eea79bc8e58ae6065.tar.gz
ASoC: cs4270: fix DAPM stream name mismatch
Mismatching stream names in DAPM route and widget definitions are causing compilation errors. Fixing these names allows the cs4270 driver to compile and function. [Errors must be at probe time not compile time -- broonie] Signed-off-by: Murray Foster <mrafoster@gmail.com> Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/cs4270.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
index 18baea2f7d65..84f86745c30e 100644
--- a/sound/soc/codecs/cs4270.c
+++ b/sound/soc/codecs/cs4270.c
@@ -148,11 +148,11 @@ SND_SOC_DAPM_OUTPUT("AOUTR"),
};
static const struct snd_soc_dapm_route cs4270_dapm_routes[] = {
- { "Capture", NULL, "AINA" },
- { "Capture", NULL, "AINB" },
+ { "Capture", NULL, "AINL" },
+ { "Capture", NULL, "AINR" },
- { "AOUTA", NULL, "Playback" },
- { "AOUTB", NULL, "Playback" },
+ { "AOUTL", NULL, "Playback" },
+ { "AOUTR", NULL, "Playback" },
};
/**