From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 60ACACCA486 for ; Thu, 14 Jul 2022 04:27:59 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 84BEE17C8; Thu, 14 Jul 2022 06:27:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 84BEE17C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1657772877; bh=21nWqJIuJuPyc3MGE2rDN2XazBAGhO1m2aDnsDAArdw=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=tJBVP4nwmtjAgR7qpRSoPRLptJZft/rUH8Qws2kNoZJuxYFufovvlXkukawkNNWif 5yx9NILnp2AqOW0tbMiQLHgp+LI40NE08KmwU40FsrcA5jRT4f7gOXaL7ofmKGq/oY S+4w9UxCxuQkMv8HnpfXtM0z39+8QBBG5u4lNkoI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0E11FF805E4; Thu, 14 Jul 2022 06:23:19 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6503EF805E5; Thu, 14 Jul 2022 06:23:17 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E428DF805C6 for ; Thu, 14 Jul 2022 06:23:10 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E428DF805C6 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ki9TpvZi" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 92F0E61E91; Thu, 14 Jul 2022 04:23:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0958C385A2; Thu, 14 Jul 2022 04:23:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657772589; bh=21nWqJIuJuPyc3MGE2rDN2XazBAGhO1m2aDnsDAArdw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ki9TpvZib08382bLyRQ4jbjYhMdxJVkv9X1F0zz6EFrg6E5rvCwqDc/lbo0/QK0iQ ttsfH8ow5FbNkeK/p8TafxACjT7jNZACiYgxDDilH1iqAH6heK8EavVLgFqtJW4hni zxLxgpMTrTjKr7lauOVHj5svN73P0t3fkP+UFcXT4sb+xGY2Qjk2wwR6eAL0l8sQx0 Ze1H4ZGa8GRcwOxDylSvyLP7yTrcn7jpwtSzfoQVnfmlF0sK+OyX+1vw5cPMVptk4Y rBOVPK5GE8yX7Gi/qqiiJXfosCbvGLYs74sRbfZ5fH+7sICkRFQA7d/6JvX8WSTmvi 4VcD16t5U74/A== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 5.18 17/41] ASoC: wm_adsp: Fix event for preloader Date: Thu, 14 Jul 2022 00:21:57 -0400 Message-Id: <20220714042221.281187-17-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220714042221.281187-1-sashal@kernel.org> References: <20220714042221.281187-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Cc: Sasha Levin , alsa-devel@alsa-project.org, Charles Keepax , patches@opensource.cirrus.com, simont@opensource.cirrus.com, tiwai@suse.com, lgirdwood@gmail.com, Mark Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Charles Keepax [ Upstream commit 9896c029f0df628c6cb108253d09b1d61f1d4a88 ] The preloader controls on ADSP should return a value of 1 if the preloader value was changed, update to correct this. Signed-off-by: Charles Keepax Link: https://lore.kernel.org/r/20220621102041.1713504-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/wm_adsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 9cfd4f18493f..d3ecff3bdef2 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c @@ -997,7 +997,7 @@ int wm_adsp2_preloader_put(struct snd_kcontrol *kcontrol, snd_soc_dapm_sync(dapm); } - return 0; + return 1; } EXPORT_SYMBOL_GPL(wm_adsp2_preloader_put); -- 2.35.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEBE2C43334 for ; Thu, 14 Jul 2022 04:25:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234232AbiGNEZ0 (ORCPT ); Thu, 14 Jul 2022 00:25:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235004AbiGNEYt (ORCPT ); Thu, 14 Jul 2022 00:24:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBC912A271; Wed, 13 Jul 2022 21:23:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 66688B82335; Thu, 14 Jul 2022 04:23:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0958C385A2; Thu, 14 Jul 2022 04:23:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657772589; bh=21nWqJIuJuPyc3MGE2rDN2XazBAGhO1m2aDnsDAArdw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ki9TpvZib08382bLyRQ4jbjYhMdxJVkv9X1F0zz6EFrg6E5rvCwqDc/lbo0/QK0iQ ttsfH8ow5FbNkeK/p8TafxACjT7jNZACiYgxDDilH1iqAH6heK8EavVLgFqtJW4hni zxLxgpMTrTjKr7lauOVHj5svN73P0t3fkP+UFcXT4sb+xGY2Qjk2wwR6eAL0l8sQx0 Ze1H4ZGa8GRcwOxDylSvyLP7yTrcn7jpwtSzfoQVnfmlF0sK+OyX+1vw5cPMVptk4Y rBOVPK5GE8yX7Gi/qqiiJXfosCbvGLYs74sRbfZ5fH+7sICkRFQA7d/6JvX8WSTmvi 4VcD16t5U74/A== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Charles Keepax , Mark Brown , Sasha Levin , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, simont@opensource.cirrus.com, patches@opensource.cirrus.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.18 17/41] ASoC: wm_adsp: Fix event for preloader Date: Thu, 14 Jul 2022 00:21:57 -0400 Message-Id: <20220714042221.281187-17-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220714042221.281187-1-sashal@kernel.org> References: <20220714042221.281187-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Charles Keepax [ Upstream commit 9896c029f0df628c6cb108253d09b1d61f1d4a88 ] The preloader controls on ADSP should return a value of 1 if the preloader value was changed, update to correct this. Signed-off-by: Charles Keepax Link: https://lore.kernel.org/r/20220621102041.1713504-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/wm_adsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 9cfd4f18493f..d3ecff3bdef2 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c @@ -997,7 +997,7 @@ int wm_adsp2_preloader_put(struct snd_kcontrol *kcontrol, snd_soc_dapm_sync(dapm); } - return 0; + return 1; } EXPORT_SYMBOL_GPL(wm_adsp2_preloader_put); -- 2.35.1