From patchwork Thu Aug 3 16:30:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 109352 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp1001654qge; Thu, 3 Aug 2017 09:31:07 -0700 (PDT) X-Received: by 10.223.147.97 with SMTP id 88mr1798981wro.226.1501777867102; Thu, 03 Aug 2017 09:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501777867; cv=none; d=google.com; s=arc-20160816; b=bQjOpZavG/SiKi9X2FX6U03OeV6f+KOcMHqS/fIWiOGacJkK52CgpJGfCCayz6V5U3 cDKI7MnCArFv4j+L8ig1ozI20PDsGu1w57v0sOJ0LZLmIKAfIzRoTJsq6qpd9X9TAGtP TrnoAgbLRfki3HqwaaZLHtKSYdvGlDqPNFz8iFE1JMW5pyn5r7VGUzgI52VUP4u6AMCU hykckPj1tNdM5ttN8tsuK7o/tjg5+Xq3S3uSnQaKxGwd3K3X/cSqSMR8A56/N+I/0hq1 ImtVYnfywiik0wWgPPA2ujZfzGaOK/8pKrCsw+Uz4ZGUUXDwcxnRb6HhluqhqH8wvHkF kv+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :delivered-to:arc-authentication-results; bh=TexqIlvfimJ15LZNveCRH7aQ809QNAWnSsTQd57YCoc=; b=HTd+XiJDHjnewyPK1Vdnpg9l903EkYIuiRcjNhcjccdtFaF4Vd8heA7NmUwFd0o4g6 WlPimL+fXj0vetFM2d6PzCFA2ttKorm3a9ljZOdHZV3EedQPSylH9lWiDnB3eDoKJsUl inA0EUPLPy0AVx6i/0HwNGA/0XjJmg9axNjpgxIOgTPDqlraQiISw45fF/T/opEgat+F Vc8cZF9zv9gb/YKQIT5nXKhZAdf3XtEzJAtqwkySyJiqWj1Ap/HuK09AYklaEdbNHJat 1r8WLCa4IjQw8CX82yoFKCkXLWbe4Zi/cwNV/2j/maSqZvK6gFwAwBLBmhg4AcUJ3ceI U+pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id g39si1840766wrd.149.2017.08.03.09.31.06; Thu, 03 Aug 2017 09:31:07 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 250C7267426; Thu, 3 Aug 2017 18:30:29 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 9DE2E267429; Thu, 3 Aug 2017 18:30:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mezzanine.sirena.org.uk (mezzanine.sirena.org.uk [106.187.55.193]) by alsa0.perex.cz (Postfix) with ESMTP id 6B26A267411 for ; Thu, 3 Aug 2017 18:30:20 +0200 (CEST) Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ddJ0n-0007Iu-SZ; Thu, 03 Aug 2017 16:30:16 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1ddJ0k-0002Uk-6Z; Thu, 03 Aug 2017 17:30:10 +0100 From: Mark Brown To: Guneshwor Singh In-Reply-To: <20170802162120.8935-7-guneshwor.o.singh@intel.com> Message-Id: Date: Thu, 03 Aug 2017 17:30:10 +0100 X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Cc: alsa-devel@alsa-project.org, Takashi Iwai , Patches Audio , Liam Girdwood , Vinod Koul , Mark Brown Subject: [alsa-devel] Applied "ASoC: Intel: cnl: Unstatify common ipc functions" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: Intel: cnl: Unstatify common ipc functions has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 4bdb04f0e1b7600b87a92b4f98ba5490ceffdf4f Mon Sep 17 00:00:00 2001 From: Guneshwor Singh Date: Wed, 2 Aug 2017 21:51:17 +0530 Subject: [PATCH] ASoC: Intel: cnl: Unstatify common ipc functions Common ipc functions can be reused for cnl, so make them non-static. Signed-off-by: Guneshwor Singh Acked-By: Vinod Koul Signed-off-by: Mark Brown --- sound/soc/intel/skylake/skl-sst-ipc.c | 6 +++--- sound/soc/intel/skylake/skl-sst-ipc.h | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) -- 2.13.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/intel/skylake/skl-sst-ipc.c b/sound/soc/intel/skylake/skl-sst-ipc.c index 498b15345b1a..5234fafb758a 100644 --- a/sound/soc/intel/skylake/skl-sst-ipc.c +++ b/sound/soc/intel/skylake/skl-sst-ipc.c @@ -283,7 +283,7 @@ enum skl_ipc_module_msg { IPC_MOD_SET_D0IX = 8 }; -static void skl_ipc_tx_data_copy(struct ipc_message *msg, char *tx_data, +void skl_ipc_tx_data_copy(struct ipc_message *msg, char *tx_data, size_t tx_size) { if (tx_size) @@ -347,7 +347,7 @@ static struct ipc_message *skl_ipc_reply_get_msg(struct sst_generic_ipc *ipc, } -static int skl_ipc_process_notification(struct sst_generic_ipc *ipc, +int skl_ipc_process_notification(struct sst_generic_ipc *ipc, struct skl_ipc_header header) { struct skl_sst *skl = container_of(ipc, struct skl_sst, ipc); @@ -406,7 +406,7 @@ static int skl_ipc_set_reply_error_code(u32 reply) } } -static void skl_ipc_process_reply(struct sst_generic_ipc *ipc, +void skl_ipc_process_reply(struct sst_generic_ipc *ipc, struct skl_ipc_header header) { struct ipc_message *msg; diff --git a/sound/soc/intel/skylake/skl-sst-ipc.h b/sound/soc/intel/skylake/skl-sst-ipc.h index e485e8f5ea2c..55f2d2ce09df 100644 --- a/sound/soc/intel/skylake/skl-sst-ipc.h +++ b/sound/soc/intel/skylake/skl-sst-ipc.h @@ -212,4 +212,10 @@ void skl_ipc_free(struct sst_generic_ipc *ipc); int skl_ipc_init(struct device *dev, struct skl_sst *skl); void skl_clear_module_cnt(struct sst_dsp *ctx); +void skl_ipc_process_reply(struct sst_generic_ipc *ipc, + struct skl_ipc_header header); +int skl_ipc_process_notification(struct sst_generic_ipc *ipc, + struct skl_ipc_header header); +void skl_ipc_tx_data_copy(struct ipc_message *msg, char *tx_data, + size_t tx_size); #endif /* __SKL_IPC_H */