summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authormurray foster <mrafoster@gmail.com>2016-10-09 23:28:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-18 12:48:34 +0300
commita0476902938650cf33ebcaf2db1a2d291ca25dcd (patch)
treef074adcfa7ca432250fa228746ebc5e0ec563e8c /sound
parentf3155797b91c28cb0afbb24fe8c914392eeb28f5 (diff)
downloadlinux-a0476902938650cf33ebcaf2db1a2d291ca25dcd.tar.xz
ASoC: cs4270: fix DAPM stream name mismatch
commit aa5f920993bda2095952177eea79bc8e58ae6065 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 e07807d96b68..3670086b9227 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" },
};
/**