提交 aa5f9209 编写于 作者: M murray foster 提交者: Mark Brown

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: NMurray Foster <mrafoster@gmail.com>
Acked-by: NPaul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
上级 513e43ef
...@@ -148,11 +148,11 @@ SND_SOC_DAPM_OUTPUT("AOUTR"), ...@@ -148,11 +148,11 @@ SND_SOC_DAPM_OUTPUT("AOUTR"),
}; };
static const struct snd_soc_dapm_route cs4270_dapm_routes[] = { static const struct snd_soc_dapm_route cs4270_dapm_routes[] = {
{ "Capture", NULL, "AINA" }, { "Capture", NULL, "AINL" },
{ "Capture", NULL, "AINB" }, { "Capture", NULL, "AINR" },
{ "AOUTA", NULL, "Playback" }, { "AOUTL", NULL, "Playback" },
{ "AOUTB", NULL, "Playback" }, { "AOUTR", NULL, "Playback" },
}; };
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册