From patchwork Tue Aug 14 15:23:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 144185 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4495892ljj; Tue, 14 Aug 2018 08:23:34 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyzcVvYWplNdII8jEsfi5oBjTYScGyijA3XiGSvjNFZ4V8c6ByceaRm9cPrZ30SFb0/nQIs X-Received: by 2002:adf:c74e:: with SMTP id b14-v6mr13505512wrh.16.1534260214429; Tue, 14 Aug 2018 08:23:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534260214; cv=none; d=google.com; s=arc-20160816; b=H62P7b7N5NiS5hbwW71kKwturbj8DWR9z/5BGAXOOdUryBINPTT9+CjVEw/98zTbHZ 1XG2f2nAa4Etkm+lgOza2rbXVMGRqHPjoZRCZkBNavG8rPC98UL7gPCHGZWb3K8739K5 AeyXlbv4vJKDfJ8eSFAgCsNPTN8UpI7FyIg5chM8tRshTAAlNuIF3jex5J9dcg+B1TAe FM2izDCeczx83qEaFHd90ehZt9Yo/xypnoxwExTXM/BoWi3X5gb096UGM5rBCML6kzFl I3q0VW11FC3XrvYSZnpx/cuOr1lDnqGT0MIVfUWLFU0M92pFxK11CAGNlIgj6eoS6H+Q ri6Q== 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=7V76ndc6b8fZoeIsh7syUmPKWoQoMwU36QsbtT4fhFE=; b=mPty76+Gn0Y9ujRMSV2ic7zEoXgl3VBy9u1wQvuguJVqUahcW1ryI7S/Y24R/y54wF +7bN9xO5HEo7ZMDWwWPjQY7fcBdQyjEHppR4ed/vdfrIAQBNVoHa+7jTTs/eBNJpgUsg v3Kn3O74rzOT4K7I90kxJbgOHShDlH13f5hcvGeo6xSlCRGrgxr1avNAh+JKKk4wu//7 TO4FVbHb2pzoQNAWCyyPBFWrjIWtp0kuId9ipY/1gpHKQbdk2EvKvOUuhFAZUC2FY85z /GnBZ3gokD4ORwu2J0hZRApRLjkz8o4I/Aanu2jM0M1OU9xTHwrjZx91rcG51Fhslkoh QORQ== 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=wElsiEyk; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id t4-v6si9739803wmg.70.2018.08.14.08.23.34; Tue, 14 Aug 2018 08:23:34 -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; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=wElsiEyk; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D763326780B; Tue, 14 Aug 2018 17:23:32 +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 8631B267812; Tue, 14 Aug 2018 17:23:30 +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=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS 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 79ACF2677A8 for ; Tue, 14 Aug 2018 17:23:25 +0200 (CEST) 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=jBuZFo8Qjzvljr7SNUm1rKC3OqRyDIGOkAM3lOXMZ4k=; b=wElsiEykGTog BV0F6VumnkybADFNLyJQPkAaoNfRFd1JvhoNfup2MNbt+471t881nLfqntVEurmU8gHQavP3uI3VN A4cJkbqZh/UC0xCMVmEkUvjTdpNZ/zcItGlWspTYQsos+WYyj/YGYW5X2jcMunw+DA/PdNYKcf+IL /Ev6Y=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1fpbAL-0000uk-61; Tue, 14 Aug 2018 15:23:25 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id E40351124449; Tue, 14 Aug 2018 16:23:24 +0100 (BST) From: Mark Brown To: Robert Rosengren In-Reply-To: Message-Id: <20180814152324.E40351124449@debutante.sirena.org.uk> Date: Tue, 14 Aug 2018 16:23:24 +0100 (BST) Cc: Mark Brown , Lars-Peter Clausen , Robert Rosengren , alsa-devel@alsa-project.org Subject: [alsa-devel] Applied "ASoC: adau17x1: Unused exported functions changed to internal" 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: adau17x1: Unused exported functions changed to internal 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 164c0f6454186d1b0e22c27dfe3d3d59fc80f979 Mon Sep 17 00:00:00 2001 From: Robert Rosengren Date: Mon, 13 Aug 2018 09:33:58 +0200 Subject: [PATCH] ASoC: adau17x1: Unused exported functions changed to internal adau17x1_setup_firmware and adau17x1_has_dsp is only used internally, so making them static instead of exported. Change-Id: I4882513ab457966b0371ac2c1024550ca6edbe0c Signed-off-by: Robert Rosengren Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- sound/soc/codecs/adau17x1.c | 9 +++++---- sound/soc/codecs/adau17x1.h | 4 ---- 2 files changed, 5 insertions(+), 8 deletions(-) -- 2.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/adau17x1.c b/sound/soc/codecs/adau17x1.c index 57169b8ff14e..2f2afb4c0c88 100644 --- a/sound/soc/codecs/adau17x1.c +++ b/sound/soc/codecs/adau17x1.c @@ -60,6 +60,9 @@ static const struct snd_kcontrol_new adau17x1_controls[] = { SOC_ENUM("Mic Bias Mode", adau17x1_mic_bias_mode_enum), }; +static int adau17x1_setup_firmware(struct snd_soc_component *component, + unsigned int rate); + static int adau17x1_pll_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) { @@ -313,7 +316,7 @@ static const struct snd_soc_dapm_route adau17x1_no_dsp_dapm_routes[] = { { "Capture", NULL, "Right Decimator" }, }; -bool adau17x1_has_dsp(struct adau *adau) +static bool adau17x1_has_dsp(struct adau *adau) { switch (adau->type) { case ADAU1761: @@ -324,7 +327,6 @@ bool adau17x1_has_dsp(struct adau *adau) return false; } } -EXPORT_SYMBOL_GPL(adau17x1_has_dsp); static int adau17x1_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, unsigned int freq_in, unsigned int freq_out) @@ -836,7 +838,7 @@ bool adau17x1_volatile_register(struct device *dev, unsigned int reg) } EXPORT_SYMBOL_GPL(adau17x1_volatile_register); -int adau17x1_setup_firmware(struct snd_soc_component *component, +static int adau17x1_setup_firmware(struct snd_soc_component *component, unsigned int rate) { int ret; @@ -880,7 +882,6 @@ int adau17x1_setup_firmware(struct snd_soc_component *component, return ret; } -EXPORT_SYMBOL_GPL(adau17x1_setup_firmware); int adau17x1_add_widgets(struct snd_soc_component *component) { diff --git a/sound/soc/codecs/adau17x1.h b/sound/soc/codecs/adau17x1.h index e6fe87beec07..98a3b6f5bc96 100644 --- a/sound/soc/codecs/adau17x1.h +++ b/sound/soc/codecs/adau17x1.h @@ -68,10 +68,6 @@ int adau17x1_resume(struct snd_soc_component *component); extern const struct snd_soc_dai_ops adau17x1_dai_ops; -int adau17x1_setup_firmware(struct snd_soc_component *component, - unsigned int rate); -bool adau17x1_has_dsp(struct adau *adau); - #define ADAU17X1_CLOCK_CONTROL 0x4000 #define ADAU17X1_PLL_CONTROL 0x4002 #define ADAU17X1_REC_POWER_MGMT 0x4009