From patchwork Tue Feb 25 06:14:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 3712811 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B764EBF13A for ; Tue, 25 Feb 2014 06:15:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E745B201C7 for ; Tue, 25 Feb 2014 06:15:38 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9ACFE2016C for ; Tue, 25 Feb 2014 06:15:37 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id B3B3E2655D5; Tue, 25 Feb 2014 07:15:32 +0100 (CET) Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id C88BC2655BA; Tue, 25 Feb 2014 07:15:06 +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 D1BC52655B8; Tue, 25 Feb 2014 07:15:03 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by alsa0.perex.cz (Postfix) with ESMTP id F1130265578 for ; Tue, 25 Feb 2014 07:14:34 +0100 (CET) Received: by mail-pd0-f174.google.com with SMTP id y13so2512200pdi.19 for ; Mon, 24 Feb 2014 22:14:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:subject:user-agent:to:cc:in-reply-to :references:mime-version:content-type; bh=PlQVBas1LEu1+2TcZMrjhcVuJoOcO+qoH41ET6prgYs=; b=VhRupegQtXeBWPG1tP5IhavDekhDX9rXcXcZx+2A2XBKd6wVbwbAxWrVM/GFTDnqTb wiVJE87kEnW6zCqB0I/u42OC3MKz0eJumf2yKXhFpFs3LFvgD+uxi9AMOhCFQMLIEIzO LEb6yHqHGeBa6t9HZGOsoPj7B0gG0ygwlBHooHtRo/rVDyLR9VY1+b5vd9xI5gzNVMFu AcT54B4FCYT8TjPl7LhXZHre9ofMUu/Zn/x1npuupPOrQPI2l56aP4v/N4whZ744/Iz1 uwYuZwfXzQVEUq7XqkS7iDf1s5HaOvdMNphAa/5MBCx0+OpDseTrHSWjcmYngGH4xevK 1fpw== X-Received: by 10.68.11.199 with SMTP id s7mr4618485pbb.12.1393308874034; Mon, 24 Feb 2014 22:14:34 -0800 (PST) Received: from morimoto-Dell-XPS420.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id nv7sm6468794pbc.31.2014.02.24.22.14.32 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 24 Feb 2014 22:14:33 -0800 (PST) Date: Mon, 24 Feb 2014 22:14:33 -0800 (PST) Message-ID: <87bnxv90s9.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 To: Mark Brown In-Reply-To: <87d2ib90t9.wl%kuninori.morimoto.gx@gmail.com> References: <87d2ib90t9.wl%kuninori.morimoto.gx@gmail.com> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Cc: Linux-ALSA , Simon , Liam Girdwood , Kuninori Morimoto Subject: [alsa-devel] [PATCH 01/19] ASoC: rsnd: move priv member settings to upper side 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto There is no big meaning, but preparation for platform dai support Signed-off-by: Kuninori Morimoto --- sound/soc/sh/rcar/core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index f316a663..a8e6aa6 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -594,6 +594,10 @@ static int rsnd_dai_probe(struct platform_device *pdev, return -ENOMEM; } + priv->dai_nr = dai_nr; + priv->daidrv = drv; + priv->rdai = rdai; + for (i = 0; i < dai_nr; i++) { pmod = rsnd_ssi_mod_get_frm_dai(priv, i, 1); @@ -630,10 +634,6 @@ static int rsnd_dai_probe(struct platform_device *pdev, cmod ? "capture" : " -- "); } - priv->dai_nr = dai_nr; - priv->daidrv = drv; - priv->rdai = rdai; - return 0; }