From patchwork Thu Apr 14 05:48:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 8831771 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D65319F36E for ; Thu, 14 Apr 2016 05:48:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 49B76202F0 for ; Thu, 14 Apr 2016 05:48:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 96D95202EC for ; Thu, 14 Apr 2016 05:48:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753685AbcDNFsO (ORCPT ); Thu, 14 Apr 2016 01:48:14 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:15787 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752424AbcDNFsM (ORCPT ); Thu, 14 Apr 2016 01:48:12 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 14 Apr 2016 14:48:10 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 778493FEC1; Thu, 14 Apr 2016 14:48:10 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 5F82F8002D; Thu, 14 Apr 2016 14:48:10 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 59D688002F; Thu, 14 Apr 2016 14:48:10 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id QAE15298; Thu, 14 Apr 2016 14:48:10 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="209318872" Received: from mail-pu1apc01lp0024.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.24]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 14 Apr 2016 14:48:08 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=iy/l71jF6JINutPcbyHU1yb54yIOVGBziFUgaG5pwgE=; b=UXQidXGfSVeDE8M82qBsfQHDDucS606i2gKodXVE+1jhhTEbue9Ol5AY3vLYyH/ycPZEcfbvMhJtRpxJfC5Tn0PlRQJopPC7DQPM/NU1Ss9zWkFYELy/s72UNr1Mmx0qlqAbjeua2VSiG0PjuS6tfUuLuWK4tA93ckMSTNnVLTI= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by KL1PR06MB1704.apcprd06.prod.outlook.com (10.167.63.18) with Microsoft SMTP Server (TLS) id 15.1.453.26; Thu, 14 Apr 2016 05:48:06 +0000 Message-ID: <87wpo0vj8w.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 3/4] ASoC: snd_soc_of_get_dai_name() uses of_parse_snd_soc_connection_with_args() User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown , Laurent , Lars-Peter Clausen CC: Simon , Linux-Renesas , Linux-DT , Linux-ALSA , Liam Girdwood , Jose Abreu In-Reply-To: <871t68wxxe.wl%kuninori.morimoto.gx@renesas.com> References: <871t68wxxe.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 14 Apr 2016 05:48:06 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0010.jpnprd01.prod.outlook.com (10.161.131.148) To KL1PR06MB1704.apcprd06.prod.outlook.com (10.167.63.18) X-MS-Office365-Filtering-Correlation-Id: c9eb6b7b-cdff-4c0c-042a-08d364285afe X-Microsoft-Exchange-Diagnostics: 1; KL1PR06MB1704; 2:gkVT6OWUql/gIRD9snH5BE3daWycuTvpTEFlRjMa3Li99PlR5EJOL2gJ+yYKGy3wbFLWbn/7utS69pupPrBxpdNq1wxTFcWFMMrNI+DMCshW/0NhhKJ0w8mrt3E3vLZ6i4dCb5zzi+IvxCvTtF7WKYMpUyRLx63EOhdkPoXE3iTWZCUYYZmMjhyb7zvGN7p2; 3:DiyZUuzipCLKqWccKF9d7j8djqGm823VpssshqnKJjnMrjvOaC0KDmZf4KqVbm3TU3MTFhRm+cNVQagd6paLd0CuFWWciChQPh+xgYDSs625oxAuq2id497OOOvd2VUf X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:KL1PR06MB1704; X-Microsoft-Exchange-Diagnostics: 1; KL1PR06MB1704; 25:BRvqQdkZmyrgefWLApD0Axx7T9btOpXoRkYZa1nHlp5lBCIMb8V/dXJXcv2t6/aT0tMfrJX/xTPt5cXtQJdt0tycAVX9sBHY04HSdEtF4ud/TT5WTeAtenYcQkrQLaxaLijFp01Qf7XVrYst4/UQhxBNvTdYmHVcutdjIbE5a3cRzYKBwIXHncd94xVKbRi6XA29VCHEQ6WZIQebQvqO+FwL0Srl5Xel1fX0ZM9e+EVVwU0pNi4p8LiYthc0vv4SjuL/o/yK7Sa9atBHJoISU5vUWlMg1Dc1wyotIkxb4Jx8xybJAdsewa6gYBkGCYbO6dZjkEjWBjCwBIzuA8y6BBzHru77sHnCabVeFy6UUL/PQ/NyYwXbjDmspHtoz0566yaRRbDdPJ8gzYFAvyZcOKQU7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Mq4NDcXAw5YZCVc901mcUVNOTaR2v/LR+iYW2BBAHyF1Z9jBytN7pflsgIbwaTa25OCPgyFK7TCRrw6N3wYjJAY4uPWFPUAvgBADpBO7icrr47owVlyirfMHz+N7ZsISXJikZs1o/30gsXunQ0/1kNv/QOhjqbWDlrXQVSA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:KL1PR06MB1704; BCL:0; PCL:0; RULEID:; SRVR:KL1PR06MB1704; X-Forefront-PRVS: 0912297777 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(66066001)(47776003)(5008740100001)(229853001)(36756003)(53416004)(86362001)(5004730100002)(42186005)(33646002)(54356999)(76176999)(50986999)(3846002)(19580395003)(6116002)(586003)(189998001)(77096005)(92566002)(50466002)(4326007)(4001350100001)(23726003)(1096002)(5001770100001)(19580405001)(46406003)(2906002)(2950100001)(81166005)(83506001)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:KL1PR06MB1704; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; KL1PR06MB1704; 23:ZDsGZOYMRJhbAdFL20hrU2vRY5qlVBPTWAtldnpRd?= =?us-ascii?Q?xqVMIdaPlYFS3aaONm+6SnkZilVAVIWncazYTnHtpgm9QrY2tWuUfVErBOEI?= =?us-ascii?Q?wLpiODsu/XTfst5UloM10ZRguEhRsCBvPaH+gPK+KHETXqbQbf6Y1f5DCQb9?= =?us-ascii?Q?6GjkdKnh/9D6WkiRPOMuIXzs1x6LdkI8iDz26fiUBRUs6t2GSbb3Gqo8ODcA?= =?us-ascii?Q?pMCuP+W8THph9szZ1HhseY1AijjmLqsAL/6mRVvmQRdnyY+0fDw0w1oG1Bb4?= =?us-ascii?Q?YFEe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W3iW2Uv1NAyeudJ+D5VfxGl41wpuj2WV5TNaM6Khko+kqznCebhiiRrtTY2mwqdNFsXO9M2NsWeMUYBVy6DQY=; 20:jN5I1j0UYNOEM2PHseTEPJY8+ZYpYY3r5BWucVZSaWyWUeIjZ4Ubl/n+bTEhazNAx8FPiwekeQXgMkTsDSdVlbqIPDGtjXjL6uhUfCMvrTSgJ4ho2pwq7SDyoUmijPQ48GQrYseyh/eFVWhN3dm1KBY+hgylmTDqMdSXJmnmNik= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2016 05:48:06.8062 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR06MB1704 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- sound/soc/soc-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 643b244..fed5076 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -3887,8 +3887,7 @@ int snd_soc_of_get_dai_name(struct device_node *of_node, struct of_phandle_args args; int ret; - ret = of_parse_phandle_with_args(of_node, "sound-dai", - "#sound-dai-cells", 0, &args); + ret = of_parse_snd_soc_connection_with_args(of_node, &args); if (ret) return ret;