From patchwork Tue Oct 31 11:21:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 117582 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3773702qgn; Tue, 31 Oct 2017 04:23:17 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QOhqyXzcEXXLE5L07h7PixLIvdg1TQbUeffWDtB+ih7WU4wq/ro28BCAedzWdEjYU7S84m X-Received: by 10.223.183.13 with SMTP id l13mr1603032wre.1.1509448997422; Tue, 31 Oct 2017 04:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509448997; cv=none; d=google.com; s=arc-20160816; b=u+gO2KN9cITs+S525HDpy1ouylYlHeS1lL9bqPmXa7WuxLaJ/XSPYrce4tbcIJJkp6 6A68O+5EyPaGIxh/Vuo2fY9TYp4XyRNVuFiKbRLBYTwlfMR24hbwRjyNfTRDU1HkEdN+ 7jUu3ANatIrjty6wFmJK0GpJNQzAegSz5N06xj/vx8q26XsX/BGjFfAV4ZglrwKb+5KQ IHvFgMrflNe7WEricpi0RxWHioNo2zXZYzGFIa9g2mjhiUi0X49pUolQUj0T8casZmR1 mMWoV/KbPUNxbvgUBqHDM19gyqZVkAB3rB/stPyG2yID3EXs/0puSs3SEmX/vUpAh3G5 oJ1g== 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=l3qc7vx97N42nOH5TiRLOEMDpbHaUr0L9aGooPUcf2A=; b=oVvb2aSNhMcXN1qYV2oVPSE5ZbjW5djX+vVolel40XIu0jqWQF6/lcTXr92at0Akxb Br51ctW/4t/TRZLLClOJvghXx1YI+UjZ2KwY24Zkb6Y6ORpLcoL4DQbCSKDJUqaPx2tK E0wkRreyWBXSHdJnkkWQk9lX6AHSVg+JoM54mfj1dBLthauT9Hy3ky7674A4RpRwl+QO zVs0GUyU4/gMqymGoX40NcYTe72IabQzCFiTuCwXPPF1WWiz1GIQ1skeLaaaanr2e8hv CVNjiOayH+GgtOHnbzXL1B1ZEtA63PWaGED2A3ZYiG+OmY9RBUnSIX+aFunx/4MX5FUs mpSA== 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=YA6V30Q4; 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 e204si1373087wma.128.2017.10.31.04.23.17; Tue, 31 Oct 2017 04:23:17 -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=YA6V30Q4; 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 5DDC82672C0; Tue, 31 Oct 2017 12:21:55 +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 4218F2672BE; Tue, 31 Oct 2017 12:21:54 +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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, 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 082CE26727C for ; Tue, 31 Oct 2017 12:21:48 +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=5EXl/rZBn2c1/eu+lihmqm8YT3l07x8TRd2NFc0kcco=; b=YA6V30Q4hpf3 6GeJaY3lIKWNM9BwkjmUYaA0W9rwQQtWIMN+Nixb7aazBlMhqRT3m+Ec5+MydPq7kslRzGS0Oo0kz D5H9fD5I4biHfWuEBx0KmLZK6kttBDxUv1IR2MkkObOJLiNk/RgrXOHcDU8bnkyCKM4e2iWQdPSdF 9gcY8=; 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 1e9Uc5-00015i-Qi; Tue, 31 Oct 2017 11:21:45 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1e9Uc5-0002rO-Dg; Tue, 31 Oct 2017 11:21:45 +0000 From: Mark Brown To: Kuninori Morimoto In-Reply-To: <87zi88xiq2.wl%kuninori.morimoto.gx@renesas.com> Message-Id: Date: Tue, 31 Oct 2017 11:21:45 +0000 Cc: alsa-devel@alsa-project.org, Mark Brown , "Yokoyama \(Renesas\)" , Simon Subject: [alsa-devel] Applied "ASoC: rsnd: don't use io->mod[] directly" 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: rsnd: don't use io->mod[] directly 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 138f878647f2ac0d7700f669b860cb130306e062 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Tue, 31 Oct 2017 00:38:09 +0000 Subject: [PATCH] ASoC: rsnd: don't use io->mod[] directly We have rsnd_io_to_mod() macro. Let's use it Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- sound/soc/sh/rcar/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.15.0.rc2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index e9b0b0f5f0ee..b338c0009506 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -407,7 +407,7 @@ struct rsnd_mod *rsnd_mod_next(int *iterator, for (; *iterator < max; (*iterator)++) { type = (array) ? array[*iterator] : *iterator; - mod = io->mod[type]; + mod = rsnd_io_to_mod(io, type); if (!mod) continue;