Message ID | 87y15672ah.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 443C9C52D71 for <dri-devel@archiver.kernel.org>; Fri, 9 Aug 2024 04:23:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8AD1610E854; Fri, 9 Aug 2024 04:23:06 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=renesas.com header.i=@renesas.com header.b="mdJ0zwYg"; dkim-atps=neutral Received: from TYVP286CU001.outbound.protection.outlook.com (mail-japaneastazon11011053.outbound.protection.outlook.com [52.101.125.53]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0B35610E854 for <dri-devel@lists.freedesktop.org>; Fri, 9 Aug 2024 04:23:06 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nsFS5K7b7gk6IqIVNedaAxXByrp4FrSwfV+iYbXXIYzLiMgjs3jk56UJqAqxExbJbL3aSUwnWLTU85HGliap4QikEQQs1qpmiQqGhIhxvGNDf2lN2GH0zrrXNPlE1EmMDARt5iwd5NkMDeiUz4XTtydDA0K+5Sieey6kVoas4adNenuGca3P0Qh37cclG2FlCA7Qbk0VXUZksoNR5fEKRfESqOjr4s7cBSFaj1SiH9X8Woo5DmRSvUI/HStc2N/M57rocBvsfQEq39nFrHzmxx84HubCKJHomjyt6D45yR6wXJxfT901q5/qxujJ9kyB+E0bfnQdq3aDADDa2ASbzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qK5GeS4438G+wuSpWRz4kw3OeJYBGQhsiwzGxzWZ9zY=; b=W6Asy736AAvPAUkwbjrU+6GVFnde3IdSnD2WXWwQxIrzTJfLTLytw1Jm2xyae3R6wh5/gbkJk6cWN5gxyKngk1+4gugai9JsXwsdzz5byYv1y8iT6RS5M2jwlmsAejpmJon7l8QhBnJJP9UpxZ9m+6nQTTvAo0EVRnIggA5Pg5agQ1ym/jIBaytxpmQYLKG4mAwXA/5k0xTcKjPuwjLy8g+aYQ0DbjEK3/0wytldDaNgdY3nNWbYukLx+7DrB3VxmOjZtzZ3HMgw8N7a6JahpnJLT8T4uXejl/A3KcWStH12Vl4Iw79We8LX3S9333oWt/69UdyGGucX7VAjvg9+yw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qK5GeS4438G+wuSpWRz4kw3OeJYBGQhsiwzGxzWZ9zY=; b=mdJ0zwYgla9Lkvc/R+NRYhL/MZzUBDC1apMVWKw2/Oh0saVWTHKlBYwhObX5lWP7t82BzpuhxB1leInANnY39DaU6tNsolh7WRDXXERJvGMDEpmUHXC9BSbKY2b0PNZRRGbbyY8dVJcwzciWnoBDy/E0YJatvmd1qtV4ca+dGJM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by TYCPR01MB6400.jpnprd01.prod.outlook.com (2603:1096:400:98::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.15; Fri, 9 Aug 2024 04:23:02 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%5]) with mapi id 15.20.7849.014; Fri, 9 Aug 2024 04:23:02 +0000 Message-ID: <87y15672ah.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v2 5/9] ASoC: audio-graph-card: use new of_graph functions User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Helge Deller <deller@gmx.de>, Jaroslav Kysela <perex@perex.cz>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Liam Girdwood <lgirdwood@gmail.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Mark Brown <broonie@kernel.org>, Mauro Carvalho Chehab <mchehab@kernel.org>, Maxime Ripard <mripard@kernel.org>, Michal Simek <michal.simek@amd.com>, Rob Herring <robh@kernel.org>, Saravana Kannan <saravanak@google.com>, Takashi Iwai <tiwai@suse.com>, Thomas Zimmermann <tzimmermann@suse.de>, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-sound@vger.kernel.org In-Reply-To: <875xsa8gws.wl-kuninori.morimoto.gx@renesas.com> References: <875xsa8gws.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Fri, 9 Aug 2024 04:23:02 +0000 X-ClientProxiedBy: TY2PR04CA0013.apcprd04.prod.outlook.com (2603:1096:404:f6::25) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB6400:EE_ X-MS-Office365-Filtering-Correlation-Id: 4fac36d2-4c49-4c50-82c1-08dcb82af578 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|7416014|376014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: KoZKWCcxh1FZvynaTJGS9O750Mmy+Ok1U4D4LGZ41bZvlad/zEzSEZY1/LcrQytgGegU+nBBGRIpOkKzoaYMVDCpsb+MyrDALf9GXKpzPT96SpbsEYvOWsdA+S0G8qnRZv2LWUoQ9n7+37CUvldP8735fkvYShsLQ9hF8wXlK/IcR2U3/W1gD1enzFwCqmqlQyy126En7vKup3uLt5j5c7og3/gfcNtdTBGQVBvKKHX6oKiDjWkRl62n9S4C6XP+ZjBEYASO3zO/nogG/oWTAlW9VjnH9gIfOV7GojWqHMr4bjusBgrILA558UB/6xsPnO5Oq8EdeP4w9YUxT3FZ8WOx+2KS6pMztufeYjfBCcRkVYCw+GwUOK5it9oTEskDWa4dSBofabroD+7SswM3BIJRJL/pOUn7LLVlytphn7OhSjo/AT8htRoqaC3gJdjtDLzryz6XcuaiaEHVkrNAmSfs4VUTm31D8hNS9JQb6FfBz9Tj40wGqwLk8M/okRaFBYDyTbGhkmbbU8TWVIfn79PA5PjPo7pXlT7RsoV6sRGDYg/SmjEfzumxZQQ7hDBOAeq4A7a29NbyQqqM/yWWx6b7wqXpZj7k4ZQGH2hzZ6PkRIqqqoe8KzGL5oa56LlxgQbgUihIBLgGfCCdk3R5o/tiqezZdw2N0xK4S4GFLeWxfh2DK9k26CcQRhXWl3LfSencRQjIcez7AheL9qixO7+cywzNnTVmTG0p0cqFDsrNV36P8WEP8BE1bhUoOy6iciFdA3LQFQPMFxyzFnv1bIf1WHjDOswpRHrOCyS8nE9DFE63HpjRsJLTXId2G/AdThc4dq44Bm5WXcvJduAHpw+x1/fPRWGRUMi0a/ez2UBPzpbhBKBXdkCs8Axf+Atl+RtiX8gxZJTXHCcym2ZwgQx3UYNYk55JVsiI/qEaGJv9dM/Ek2CKcSl4OiFV+GakI1ELJKpTIn4A5cVUWY8sWB236Zjd9G8XEOWNj4HfDSqbkHxo4V8oGkv7oa87Lwvq6//pyAgt1DhhWhT1sG5t781b7Pr22+CkMBwUZnU0+mLYmy5NRd2fVzrakEM6b+T7oBhe4jPeb0bKNpiEVfmwfSK+Yc5W5gy49twVb+wT+SieltwG6qMK4qkq7yBdyXSuuWKeDzWBc2MGyMZsTJ61bLyFm/V9Aisl7Qrg70hYzbOxgN5ZSOJUVxqtP2Wr3TF5iz/aiaNjjpgTHEP9qZW7eUju/dCSkwrIHUpYIxgbfc3YCQRWohOXCitOgph1X3hu38bTZVv0LHdg1vDqJmT3o0/a981pkh+zw0eabGYO+AvbjtLmX95h17Xb0RJUoDAs423DIvh+3DX2A7k2GDVOUZcR5DT9l+M3OEf6LxZ64+8RxxGelmjKOfvCdTK8OoQ++9y+XyNzKU8td1mxjZPWKLR6e0YaVKpdj+m2C7UZvF8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYCPR01MB10914.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(52116014)(7416014)(376014)(1800799024)(366016)(921020)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: l4jhGplhiB6Y0limBwtQHlCL5BDaGfze5uAMB06JIBoPVQIZguRzOptF+lUgBPZm0JexXApuiy8PaOzHp7VT1XJ08xlUmKS8E0T0r2DqksddUDVltSZOXFdekYZItdSCD9/letrPulK8OY3bGMYEUbQRT+2ywJvg36B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Ok6C3zTacSKZs+wjQQjhjkpViKtEzz6lHeFNI7YGE8PeRRvnK/st6Rr++7ByN15uTlQRKcV/WD5su/Xq3NbsYg5wnSJojcposnSAeo4jqrapz06Qmo3HNWhRAI25+/AJrGUWAWwLMnz8DYkV1FvcxwSQyRV8u85/TEne781nCUrL7+hPlEtRoDWCmUPwI2Qv9qfjQNrS8NbyZ5i3VAk/5CCu/4CgLYdJ5cnt1JEv9lpNy0lGM+gunLlEDiB6Ai6BN6fh2z1BOW3dOBSyDRtqw8nV8AntVZ+7qUrrqy1h6gNt3brmpAkR9AW3wVzU0bkI6L4lv/T+xmkSHNNLUbEmSJ2q2J4CG6jZTYy8xsbRG10ISnmxGHgyC3tFPds0fCCU+RFr72YArJ+SrRPL2xmI0q/V9R2dK0= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4fac36d2-4c49-4c50-82c1-08dcb82af578 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Aug 2024 04:23:02.6943 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: folpO/1Du11IA5cbclsJvRQ0vpNAhua4VnmKsJcoOj28zOecC7E+0X5XABIuW0njSkf0UVRJOe67pugc4UoIGXuIYzhL3a9RLVoBq7W0ATmjujtoNiwVKfWPicq7+0v8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB6400 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
of: property: add of_graph_get_next_port/port_endpoint()
|
expand
|
diff --git a/sound/soc/generic/audio-graph-card.c b/sound/soc/generic/audio-graph-card.c index 3425fbbcbd7e..040c271e13c6 100644 --- a/sound/soc/generic/audio-graph-card.c +++ b/sound/soc/generic/audio-graph-card.c @@ -376,10 +376,7 @@ static int __graph_for_each_link(struct simple_util_priv *priv, cpu_ep = NULL; /* loop for all CPU endpoint */ - while (1) { - cpu_ep = of_get_next_child(cpu_port, cpu_ep); - if (!cpu_ep) - break; + for_each_of_graph_port_endpoint(cpu_port, cpu_ep) { /* get codec */ codec_ep = of_graph_get_remote_endpoint(cpu_ep);