From patchwork Thu Sep 10 06:48:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7151131 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 906C3BEEC1 for ; Thu, 10 Sep 2015 06:49:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B4882208CA for ; Thu, 10 Sep 2015 06:49:42 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 7FAF1208C9 for ; Thu, 10 Sep 2015 06:49:41 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 38F392657B1; Thu, 10 Sep 2015 08:49:38 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 795482655DB; Thu, 10 Sep 2015 08:49:21 +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 B1AB42655DB; Thu, 10 Sep 2015 08:49:20 +0200 (CEST) Received: from relmlie3.idc.renesas.com (relmlor4.renesas.com [210.160.252.174]) by alsa0.perex.cz (Postfix) with ESMTP id D6DF62657C2 for ; Thu, 10 Sep 2015 08:48:56 +0200 (CEST) Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 10 Sep 2015 15:48:55 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 55DE73F0F8; Thu, 10 Sep 2015 15:48:55 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 350B91800A; Thu, 10 Sep 2015 15:48:55 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 3434E18070; Thu, 10 Sep 2015 15:48:55 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac3.idc.renesas.com with ESMTP id RAY06806; Thu, 10 Sep 2015 15:48:55 +0900 X-IronPort-AV: E=Sophos;i="5.17,502,1437404400"; d="scan'";a="195340054" Received: from mail-sg2apc01lp0241.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.241]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 10 Sep 2015 15:48:54 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by SG2PR06MB0601.apcprd06.prod.outlook.com (10.161.10.151) with Microsoft SMTP Server (TLS) id 15.1.262.15; Thu, 10 Sep 2015 06:48:52 +0000 Message-ID: <87egi6ojs6.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown In-Reply-To: <87fv2mojtr.wl%kuninori.morimoto.gx@renesas.com> References: <87fv2mojtr.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 10 Sep 2015 06:48:52 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0036.apcprd06.prod.outlook.com (25.164.91.46) To SG2PR06MB0601.apcprd06.prod.outlook.com (25.161.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ptYNpMBIPivSUeUh3Dm3o90YOLLayNOnoOmMrg8pZohoNdYUYEJHXRwE6mHJ8zsyjO721FTTE+1wptUX+L+Q9aG09GACWk8ZuVNCAA08p9jTd8WmuU5HOBHcrAGyaXI4CVsez14eD505LQy2Y0L6a2BrldcYqiWLwEGRZ81kIopAZkR59c+OBafo7H21; 4:5YqYTXgviGGRtXEHZdsHiX9Yhr54xsNR9iXbQmunDh3v3UgpLOF+Kb3mEHJvajoP8zUo8zwOrKlSzF77F7bnNqXWwVSyQxkDRxVuYoCKsgc1LKpHcCkUCDyvPMZHJWT8u5tWQMiTwRx7VsrLNt+BkvowrC+85llJnrJl1GRhT4wdV4XSzngXj7XSLMjNu4NUzNKxgUS+e99KUMk0Hc3vKY9pswwMc3Ct913u+S1dcYk9hZ5ZaXolPOPyKNPJ3+e8kLQi+7DkpcRhzgl1eUu5VM9NLObmM7YcgEB4FEe63kN9yw06dOFyiYFEoKjuBchl X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:SG2PR06MB0601; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0601; X-Forefront-PRVS: 06952FC175 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(50466002)(42186005)(5001960100002)(66066001)(189998001)(77096005)(83506001)(23726002)(97736004)(53416004)(62966003)(68736005)(106356001)(36756003)(4001540100001)(5007970100001)(229853001)(77156002)(46102003)(105586002)(87976001)(50986999)(54356999)(5001830100001)(76176999)(46406003)(33646002)(2950100001)(40100003)(4001350100001)(69596002)(19580395003)(47776003)(575784001)(101416001)(86362001)(81156007)(5004730100002)(19580405001)(122386002)(64706001)(110136002)(5001860100001)(92566002)(5001920100001)(21314002); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0601; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB0601; 23:AgcnzZGpmWX+9B8ihLGB4kEw8s8hpAAfKgPnYv2wH?= =?us-ascii?Q?COyVneRtmqKGlqzveSTPU6dHMrQtSzEwLeAlPsYTwlyj0Qnq+DomFy0PUbyN?= =?us-ascii?Q?DVxSJhBV3lhiWd09iBRF2BylaWmfPctZFyzTcp3BrvaJwP0tKk34qXibC4LE?= =?us-ascii?Q?Tvcd+zgWTyITxz8NM9E1PHEiwesXYnL2bT5OEFJsMCzNpdS7UAAJI05og8IR?= =?us-ascii?Q?JamZEst0O57IhhnvlxnUNC/n07fmg08Hhw+Cm6SZLYoqb8DmopAsWMEAe++I?= =?us-ascii?Q?HutQPLRIrD/nNClENHGQOMzJV8JNbpO9dfUaIfEBlJywK7QdX9h2IOM7wUQ/?= =?us-ascii?Q?HBk0CqMQUvZo6lCMCqGka6iPObQERdHkma/Ie47vZ/9simbrZM0C/CGEgIhb?= =?us-ascii?Q?rB6rauqsWk3cyZa2hW0QB93UDS5icOMhC7N8HBM9B1lBXVOvPypZJ7F7WUk9?= =?us-ascii?Q?rm3kLUGLNseIxddsU1nII+KpYHPbC+JZYjUQxAoraV7Z387H+pNv3N/d1zky?= =?us-ascii?Q?V38rwUoPqVE8sM5lUeW/7ZAdKhpMHT0rzW0q346Uw7EfWevihSrbjAOMDjxW?= =?us-ascii?Q?uXUX7O1htxt4eCalrbyZmejb34IR6k626sMZIC6/nhjyror57wpQdaDIuh5U?= =?us-ascii?Q?GaLZDgMjzWuQ8Sw455gzNHK3FuDbZ9j5x7DFWeLiQGU3ICTX7BSh221l0Twn?= =?us-ascii?Q?5pHqGmcXcEk/zzKT04hW+lMWi8Il9eJxK+3fe1gmtXVR7kIMdYhH6s0isMpt?= =?us-ascii?Q?WnE4nFbQDv09kcAU9p31HW2UfV5jZCmGofOR8LI5OQXJ+UuB4mQPLevCHcUw?= =?us-ascii?Q?5F3hsN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= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2015 06:48:52.6147 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0601 Cc: Linux-ALSA , Simon , Liam Girdwood Subject: [alsa-devel] [PATCH 1/4] ASoC: rsnd: tidyup rsnd_dma_to_xxx() position 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 rsnd_dma_to_xxx() macro should exist in same place Signed-off-by: Kuninori Morimoto --- sound/soc/sh/rcar/rsnd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index 7a0e52b..6ae8068 100644 --- a/sound/soc/sh/rcar/rsnd.h +++ b/sound/soc/sh/rcar/rsnd.h @@ -214,6 +214,7 @@ struct rsnd_dma { }; #define rsnd_dma_to_dmaen(dma) (&(dma)->dma.en) #define rsnd_dma_to_dmapp(dma) (&(dma)->dma.pp) +#define rsnd_dma_to_mod(_dma) container_of((_dma), struct rsnd_mod, dma) void rsnd_dma_start(struct rsnd_dai_stream *io, struct rsnd_dma *dma); void rsnd_dma_stop(struct rsnd_dai_stream *io, struct rsnd_dma *dma); @@ -225,8 +226,6 @@ int rsnd_dma_probe(struct platform_device *pdev, struct dma_chan *rsnd_dma_request_channel(struct device_node *of_node, struct rsnd_mod *mod, char *name); -#define rsnd_dma_to_mod(_dma) container_of((_dma), struct rsnd_mod, dma) - /* * R-Car sound mod */