From patchwork Fri Apr 13 11:25:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 133367 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp622807ljb; Fri, 13 Apr 2018 04:25:33 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+tIPF8paU2yI+ciDImDb7XP680FX/5LxfyffVYty8HDhAh9e1BZ+R+he6iMbh7L6gsMOSx X-Received: by 10.223.144.69 with SMTP id h63mr3344059wrh.218.1523618733580; Fri, 13 Apr 2018 04:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523618733; cv=none; d=google.com; s=arc-20160816; b=JPniVoU8gPJiJRqokZxWpu6zoZaVHOnapHGdZeDRK9f3Rcb3DH66SL6eEp+wB6EVNb qRYK60/PAVe59Z60NHbkhPsqWg27OKGKetVc2tkP6JnukBT+MR+uZhwkH9AL8DbNmiYy ZIjIi5qaAjcWZuO1RpJ1JAZNRT+s2nic+t7aLqDJLJps4eialK00YLmYAATwscriMiCj Als6xleQmOH8px3Dkmxoct8+dYnlNgXu+yfnOI1A6ztvS1cfVX1bvYyhhcxH+jBhbZPc pfIB28cCcnRx2ghhgf4bcPK6Cizctr6jbcBOLXmVWqm6/qzLTxXA3c87lx2v0+tTRYtS R9sA== 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=mEOXhYWYpveFNdBZis5IhMR9L/S+d451nbd2rlvcLtM=; b=EmvDQqsZ7Fm3KlE/aTSqAp39mK67hWlgbZEwtjX7ekzMjVQp48H07nqfsPH5bNO8lF RFO+XvTbTv1lBf9IIdzyQWXlw0iyZTHSaaZbLc43Y+dj9Hv/nN/OrNwj0QV9TGJa2ijY AtRlR4rLaMFDtl0E6v+HEolaO466xFalcnqwGua81uzXUs7iwqFm3ECS8dIX0Ax0+CKl EInyaa91ZQXJeY3TRkwgY1m9oVBtj3xzn8NoAchibcZdj5VbZCj2xIwZGqX8e914VRQH kA6kxmyrEhNaG2TplV6R2FDwLy1hSVCf+48x7BNUvvKKqj9BZ/MDDN9/Qn1tktDhoa1X rIWg== 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=qOsOQGiH; 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 58si4351672wrv.330.2018.04.13.04.25.33; Fri, 13 Apr 2018 04:25:33 -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=qOsOQGiH; 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 E3BC62675EE; Fri, 13 Apr 2018 13:25:26 +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 AD44126763F; Fri, 13 Apr 2018 13:25:23 +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.2 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 A48BD2675DD for ; Fri, 13 Apr 2018 13:25:15 +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=LUxo74mkp7lon2zsIZoVki6Z9og8Hn0l3ZioG2sZVkI=; b=qOsOQGiHsqwC 0PYK5S0/xswqkxF0DXn33iYGtmMuulPsJRY4YgkS3SCmfIGEJEgWADrgtA2L0ZCleBmyeLNtdCpiS SBS6Y6rqywPnYwF3GuHIxqcCdXSLMCmI30dkraSQH9J/YhfjJiWGgf9uHTnHEKekm6OQY5FoMbZTc IE4/U=; 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 1f6wpN-0008ED-Qz; Fri, 13 Apr 2018 11:25:13 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1f6wpN-0000PF-Ce; Fri, 13 Apr 2018 12:25:13 +0100 From: Mark Brown To: Kuninori Morimoto In-Reply-To: <87woxx3q5g.wl%kuninori.morimoto.gx@renesas.com> Message-Id: Date: Fri, 13 Apr 2018 12:25:13 +0100 Cc: alsa-devel@alsa-project.org, Mark Brown Subject: [alsa-devel] Applied "ASoC: doc: replace codec to component" 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: doc: replace codec to component 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 93cb87c7bf6746b853974dbd96d16e9bfe835825 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Wed, 28 Mar 2018 02:14:22 +0000 Subject: [PATCH] ASoC: doc: replace codec to component Now we can replace Codec to Component. Let's do it. Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- Documentation/sound/soc/codec.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.17.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/Documentation/sound/soc/codec.rst b/Documentation/sound/soc/codec.rst index f87612b94812..58f625fe3d39 100644 --- a/Documentation/sound/soc/codec.rst +++ b/Documentation/sound/soc/codec.rst @@ -179,12 +179,12 @@ i.e. static int wm8974_mute(struct snd_soc_dai *dai, int mute) { - struct snd_soc_codec *codec = dai->codec; - u16 mute_reg = snd_soc_read(codec, WM8974_DAC) & 0xffbf; + struct snd_soc_component *component = dai->component; + u16 mute_reg = snd_soc_component_read32(component, WM8974_DAC) & 0xffbf; if (mute) - snd_soc_write(codec, WM8974_DAC, mute_reg | 0x40); + snd_soc_component_write(component, WM8974_DAC, mute_reg | 0x40); else - snd_soc_write(codec, WM8974_DAC, mute_reg); + snd_soc_component_write(component, WM8974_DAC, mute_reg); return 0; }