Return-Path: Received: from mx2.suse.de ([195.135.220.15]:54984 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756334AbcKWJXq (ORCPT ); Wed, 23 Nov 2016 04:23:46 -0500 From: Jiri Slaby To: stable@vger.kernel.org Cc: murray foster , Mark Brown , Jiri Slaby Subject: [patch added to 3.12-stable] ASoC: cs4270: fix DAPM stream name mismatch Date: Wed, 23 Nov 2016 10:02:50 +0100 Message-Id: <20161123090305.3846-4-jslaby@suse.cz> In-Reply-To: <20161123090305.3846-1-jslaby@suse.cz> References: <20161123090305.3846-1-jslaby@suse.cz> Sender: stable-owner@vger.kernel.org List-ID: From: murray foster This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. =============== 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 Acked-by: Paul Handrigan Signed-off-by: Mark Brown Signed-off-by: Jiri Slaby --- 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 83c835d9fd88..67c82956367d 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" }, }; /** -- 2.10.2