From patchwork Mon Dec 4 18:49:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 120584 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp1238246edb; Mon, 4 Dec 2017 10:50:52 -0800 (PST) X-Google-Smtp-Source: AGs4zMY3g0N+5/RvcIKo/kqLP92IFtfW/r5Z5sG2OlIPhqwOY3I41MnCohn+lSbwgXyhzA7224lc X-Received: by 10.223.200.6 with SMTP id d6mr14659030wrh.118.1512413452358; Mon, 04 Dec 2017 10:50:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512413452; cv=none; d=google.com; s=arc-20160816; b=UF9Xtl5UxMcRAx7AbUOnrBolKHEJSQOmrxTu1/ADCGn5zzRcU1nKVafBHFyw+3FzhM S/c9kThvV9ib09J7QafzXZsLAi7Wb7kUm2CYcGRaIZouZ54UFDzM2a3qyYgn7XJR8I1i Qn+5C+1sEkyKUCUtuQIe14xZc0AeFjEaK/HjM86N4hoRcPRPMjXONo0npQl3vSrHUoHE qGllAzf5Zg71htBjnSAxTbQN7P2L3Yvyp55h9aNbGHVZaBiFRTXVpeLA4nJvS5bZffCa wnRMcjqOyzdaSJB7/TXKAhTR+GrpMJGJFtjFErVZwImctNLBSehopxiBHW4IrODDoQ0w MdcQ== 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 :dkim-signature:delivered-to:arc-authentication-results; bh=lpSY03PDWS5ELRmD6BxArPUSoYWW9nVa1kSeEWnH3Nc=; b=AJQZZ5YuILhBAi23Wzdm6e6R0AV1xf/P72BOASS5vpccqIUDmCJQYk321QzZf82dtC s7fWypjh7UD8lo9LErX2UNM8E5wSz9XShnnRVJxVMnWm8oX+3yTaJIwVKYuF6CgZKoWx YSATaBCJq5LyH6On/12kphWoh6tskAJZSkPpJxQvht5Stvl24saGDFPjdpZY7ZGe8lMU WrbGV1T2YvSdUTcncJHlsn9SnP4Dr9o2EL9fZVk/Ri9MFylo3HnPWuJdsaOdfwLVLE6x 48zgQvWtCCuB/T8wcjSo6spuAO+f5j/6pkpFA//oaIi0sn5vJoPxfbYRBMDgKzyVZOE0 2dlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=QEWtP0AO; 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 d20si10642649wrb.314.2017.12.04.10.50.52; Mon, 04 Dec 2017 10:50:52 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=QEWtP0AO; 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 A20CF267657; Mon, 4 Dec 2017 19:49:35 +0100 (CET) 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 49310267650; Mon, 4 Dec 2017 19:49:34 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id AF28D26760B for ; Mon, 4 Dec 2017 19:49:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=w4x1pSfBRtLEnuQ3YuwakQTSM+H6+QFmPWSGs0u2JCE=; b=QEWtP0AO5aCn h9jyLvQzU1kvpaCiT/yrz6ddfl0O72PPzBT2A9qVPegKU162PsbXGurpT8OTQtI4+BuBEM9ejprdv IdBHJxETrGqzv0JGQUdpy5rzjupxqLjp2rjqcd9/JOilXMjKN2haHGNDJzWhwHnNRxsKMaGdu/rdS W2hn4=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eLvnp-0000PU-9T; Mon, 04 Dec 2017 18:49:17 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1eLvno-0000QN-St; Mon, 04 Dec 2017 18:49:16 +0000 From: Mark Brown To: Guneshwor Singh In-Reply-To: <20171204050012.21498-1-guneshwor.o.singh@intel.com> Message-Id: Date: Mon, 04 Dec 2017 18:49:16 +0000 Cc: alsa-devel@alsa-project.org, Takashi Iwai , Patches Audio , Liam Girdwood , Vinod Koul , Mark Brown Subject: [alsa-devel] Applied "ASoC: Intel: Skylake: Make local functions static" 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: Skylake: Make local functions static has been applied to the asoc tree at https://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 8e79ec98e1f613f6fda5d91b16f5e38cf0bd4627 Mon Sep 17 00:00:00 2001 From: Guneshwor Singh Date: Mon, 4 Dec 2017 10:30:11 +0530 Subject: [PATCH] ASoC: Intel: Skylake: Make local functions static Some functions are local to the source and do not need to be in global scope, so make them static. Signed-off-by: Guneshwor Singh Acked-By: Vinod Koul Signed-off-by: Mark Brown --- sound/soc/intel/skylake/skl-nhlt.c | 4 ++-- sound/soc/intel/skylake/skl.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.15.0 _______________________________________________ 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-nhlt.c b/sound/soc/intel/skylake/skl-nhlt.c index 4d2136c0389a..ca5dc2be7b68 100644 --- a/sound/soc/intel/skylake/skl-nhlt.c +++ b/sound/soc/intel/skylake/skl-nhlt.c @@ -269,7 +269,7 @@ void skl_nhlt_remove_sysfs(struct skl *skl) * stores all possible rates supported in a rate table for the corresponding * sclk/sclkfs. */ -void skl_get_ssp_clks(struct skl *skl, struct skl_ssp_clk *ssp_clks, +static void skl_get_ssp_clks(struct skl *skl, struct skl_ssp_clk *ssp_clks, struct nhlt_fmt *fmt, u8 id) { struct skl_i2s_config_blob_legacy *i2s_config; @@ -360,7 +360,7 @@ void skl_get_ssp_clks(struct skl *skl, struct skl_ssp_clk *ssp_clks, } } -void skl_get_mclk(struct skl *skl, struct skl_ssp_clk *mclk, +static void skl_get_mclk(struct skl *skl, struct skl_ssp_clk *mclk, struct nhlt_fmt *fmt, u8 id) { struct skl_i2s_config_blob_legacy *i2s_config; diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index 63e5456ef401..a89592b2850e 100644 --- a/sound/soc/intel/skylake/skl.c +++ b/sound/soc/intel/skylake/skl.c @@ -545,7 +545,7 @@ struct skl_clk_parent_src *skl_get_parent_clk(u8 clk_id) return NULL; } -void init_skl_xtal_rate(int pci_id) +static void init_skl_xtal_rate(int pci_id) { switch (pci_id) { case 0x9d70: