[alsa-devel] [PATCH v2] ASoC: cs4270: fix DAPM stream name mismatch

Handrigan, Paul Paul.Handrigan at cirrus.com
Fri Jul 8 23:23:04 CEST 2016



On 7/2/16, 4:21 AM, "murray foster" <mrafoster at gmail.com> wrote:

>
>Mismatching stream names in DAPM route and widget definitions are
>causing compilation errors. Fixing these names allows the cs4270
>driver to compile and function.
>
>Signed-off-by: Murray Foster <mrafoster at gmail.com>
>---
>Changes in v2:
>  - Remove the 's' typo at the beginning of the codec driver.
>
> sound/soc/codecs/cs4270.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
>diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
>index e07807d..3670086 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" },
> };
Acked-by: Paul Handrigan <Paul.Handrigan at cirrus.com>



More information about the Alsa-devel mailing list