From patchwork Thu Sep 26 00:00:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 830642 Received: from OS0P286CU010.outbound.protection.outlook.com (mail-japanwestazon11011007.outbound.protection.outlook.com [40.107.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57E1526281; Thu, 26 Sep 2024 00:00:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.74.7 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727308841; cv=fail; b=p7oqojJM9mzQpsnmUZx9NWaVaS/ZgIe9G6o0DkbZt2RbZU7/11elJbiBn0MD0aOkD/5k0Q0ZJjeFdn7VW/jvbvPhlsMa6w3jhL8QvEnx2Kx9ts6tBAlMd51ZaRwdilvJLb8Fitr/OVxR5sKkROLzpkLpZOgh2XmedJxRCFSFXzM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727308841; c=relaxed/simple; bh=8d75jiOeTxpcPxvWxnrdaq5RKYvgYNhH198PyvePaZI=; h=Message-ID:From:Subject:To:In-Reply-To:References:Content-Type: Date:MIME-Version; b=tFXb7G4jrFVJTM31ni9wPfZ8nP2hRIfbHO/XQ/2qWO0goCka193bj4OlTiOhoBFOCxgo3vJSNz2i0CldZdIAPxNcpyU73tMfjXi+xaR4ENO5irx8XvSRKa445YJ94g3XfxGtnVFMT0NNCGV7NdtiQCSMvhYCSnfxrRnGdpjCHkU= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=Az9IIVsu; arc=fail smtp.client-ip=40.107.74.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="Az9IIVsu" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nAj9+mUOntkxsLKEb1TjyoenrM4IYf5Ix1dPC9+LiyWSoYoHCYkzzCF3l7E1albWJ01hjjMEY6byxKsBrBxsnihoQQC+s7c2nx8Va/4A9D6mgrrQ/As9V+Hc2mMHlCL9QKRs06QYfJlG8iYYvpJjrR8MWlyCfVktEJ4EmDm1k8g87KJxDuR3hCHJStGUhf49JmSl94rtDT4FG+XTRzzQMXGUIkItC4tJm9wQgFajhlaEe+VZpmi04h+DYF9hhGam9y/rudBVY1ZJpD/+z6vRPtJe4ST0EnkX4REGwjLFmeQc4p31k2q6vfrGkf3uG1BcAjoVOESUrzZUOcV4IDJ+cQ== 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=XSnStjZ8WKcPDrgOADlCc4YL8xML+60DZSrHpdifn6I=; b=e0L1WFdRrbvuUshCZTpU8W3U4QvLM1atxuJ6UqELmPo+ndyJuHztfUh4RkIs/4VSTKaVuMDxStTK6Am6m/ERDzu88USDT3fDcl44BdnM4dD2dEpSllo4btDQKtmW7ZtSU1fmhrI9LMmTSxAF0faoqmqm/+Ccoj4KPFgfxja7pDxDbM+2lvxS7jm92u9zniukMq1MHdwRQ683VgEafu2dx8fS2lfUoL6d1AulpmHu78Ee5wP44Bc6WmnIzVMmFoBojtATQMtMqVR3dF+0fNr5rM2yia53cdJs/Z3s4U2ja7Z3cy8K6TU/jh6ryytyMXxuzKmXvspmudMPqk6xBRSAhg== 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=XSnStjZ8WKcPDrgOADlCc4YL8xML+60DZSrHpdifn6I=; b=Az9IIVsuWUHBz4mMEIR82Smj/kh2UzcWNhbiFqTMKbN9X8tQKnTEw6VbnJhlSXh175GrYmbEiMIV7cpSMtFiCofG5VzRqkTkJg7SieKA2c6p8qrdejZF5RxPpWvQykUvgBVZN9jgJVugmf9GBzdKWFXMVcMBXca+KsfU6gQGatc= 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 TYWPR01MB7353.jpnprd01.prod.outlook.com (2603:1096:400:c6::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.20; Thu, 26 Sep 2024 00:00:37 +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.8005.017; Thu, 26 Sep 2024 00:00:36 +0000 Message-ID: <87zfnv8esb.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v6 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 , David Airlie , Helge Deller , Jaroslav Kysela , Laurent Pinchart , Liam Girdwood , Maarten Lankhorst , Mark Brown , Mauro Carvalho Chehab , Maxime Ripard , Michal Simek , Rob Herring , Saravana Kannan , Takashi Iwai , Thomas Zimmermann , Tomi Valkeinen , 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, Sakari Ailus In-Reply-To: <877caz9tdw.wl-kuninori.morimoto.gx@renesas.com> References: <877caz9tdw.wl-kuninori.morimoto.gx@renesas.com> Date: Thu, 26 Sep 2024 00:00:36 +0000 X-ClientProxiedBy: TYCP286CA0302.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:38b::14) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYWPR01MB7353:EE_ X-MS-Office365-Filtering-Correlation-Id: 04421646-71fe-4f3b-d325-08dcddbe4005 X-LD-Processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|7416014|52116014|376014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: B5jGYJLZl5glBAPjkXSE2KtLKn8hc6XIPXszVbLv39IMJin7fi/uGVRHE43ynd5NVZu6op7Oy5ewR1yK+6ijsMlQnvf1ps2IG14yzVh/qY+EBtJRzjWc8n+nC2O4XRzbu9lwfJNU+JURUDF9YUkz3xecJx/OIj9VqsGypqQ/Rq8IDgbWmWLlSX7HWWRGo9BRudDXJxj/OX84yGAEAOS1W6EK0WKVgmlRGfR+kLbV4PMF1i4agrcHV8lXzFl9Uwl0ohkd26N7WIuGLOjwevohNn4O9rtuqTYOj/asU6JrDA3LSsJtZ2o58nz7XhuwQcUpjV/sCbPYPFV/k8CAExF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ZDxqHMhQzJ1LqL/Tah/82QoOw5wjA= 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)(1800799024)(7416014)(52116014)(376014)(366016)(921020)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: GOEqQ3689Pq0zXFewdPd3NjIsz+wz8nehvR+to09K9EWGIx1dceoOYDnN32TN2sXuVft5wnOuzMFEy/NTESYO5bwopqGoLkY7Eq7Yvm4327qAJycc/jOMymLDcBuCEqe7D0fDsTYfg45q5SkYLAhwjLrNF6Aslzo0NILoiPNWO0CyLsQpHmeVX0mat4qxBwIIvbXTCetmnzbRpNnXOREgcNE99euRPLE5a6PnI1U3tV266k6KiwhKTO2ChWt/z1q2l0k0MsepK9r/55qUzC+zK8MkX0ZDuokSIhQ6Kz6UcXjWYSHyEuR8rjauBVIP8wzSxjGswII9aOI9QUhdZYm+Jid+qibyWdWVsTTflJdeSMAYVMfIFbeIUObDaUzFQEAOa1/MVCMsXxyQ2MlAbr1izUebCRDdveT8YdhZLi9uQSYze6tjEq3B8p4WK8ds9U51E57bLkiFB5/aelujXUPfx8IVrDirgFC4XkZmjgTgYo8p7RmkvVtVEawk58c463tzI7u1Q7G2kfGavhaqc3ILSc/oHb7wVj80Q/RqkN8v4gCG8RzNO3EYjwGkBw9rDVVczg6itmr7GwS4WGyY9iJYsvIcozY3HQHbGdPpHqDoXFz6OpdDj/HcWX4tKApUu6Z3jjzPy03jNNq3wznyn2DAfXXJygTQiQslsQE/BpZu/wj/eLb11zOKIviC52o8a80jv9TlyYKvIwZC6yP53F2yIhUYZu1wy/49R7ME2Ud68JWdNCnrtMV/XEKlfptFRCyRDh5KSSzjDnbJ7MRx51iQgrWnww+g5gXA5AEEMzc73MdE+EoIf76HUyNT5tSuRATcaLXQFk6le7oo0/0H9trQhVBac52rSY5a1DRIRP36dMaG5svD52JJ/Gu2wXbotLhYaOu6YvaSeWwUrxqQsv/bQtdy1NP084IVoGCjpjNYSBOlOUHWcGKoujQPyPxLpan+q6hKInPV6iBwfewIhKRa0EMjOMvWuCXHl+BrvwNyWoVqKNq3jkytzX23c54nw5Y1titb+0+LsHS952PaRrt4Nn0/ueCFQhqiFOcdpKKQKXTr2bSKHFsUx3DmnbLZgs6rRJHypVTRtx0IBYFZyVzO8S0FZMoKaHIL5z70XmaYPIdIO8wuo/ShsPTJ8PaAMmm2Xy2M5xQgRfqM8sRR7oGBNjrWPGUGysuOe4l2esd5B/JCuGb4p7/Y/F2LSmDvgPBxvTpJyawIESsqh2FBTcVkQDESwqrV1U4/556Ar9Ul7rwusAuNAOQ2YHG4ShYiZ/wam3VtVUHGu39jD//bsJKNBZRBqY8qZ0qD0VnlYQa/2DgMFGPtc7pQ49VPLy69S13mpEGv7nb7G/v/ualELOaCNprEWlKzIMFq0MbnhZz8OXwqzvgwQbgi5Y7TKp8chhYVoodBgaPNMLjrlomfOKH55QgiN6JyUPRXjB7/FgQDZpdlyWRyx20S6pAMMwZAVEA80bpWCMoNEBo+AGwRm+Yn3OhEhj8L6GB+dgtIHe9svJdX0/5NCioydkb4D1SjDIAaaR5lKhZGqI9yHPP9wSfb6Yv6XpRmFLnR6E28CpZQNb7D05tGh0l+LgXyJaklhWDpeO58wfaaVKNxx21q6T2ntQY6PzPzD5KUWSs2i8vY4Q= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04421646-71fe-4f3b-d325-08dcddbe4005 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2024 00:00:36.9216 (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: F44cDCBK/Y5JELMztu2Wh8JPAphj8KqqCC0VZtFVqj2T89BTU3FNbUEI7yfaIZaNs6HYkQL6vk/Qx7ku2veCBrGAMeXn3ato+UdESn0hH149q9F1QvRjPeyk4Vv5FFNt X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB7353 Now we can use new port related functions for port parsing. Use it. Signed-off-by: Kuninori Morimoto Acked-by: Mark Brown --- sound/soc/generic/audio-graph-card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/generic/audio-graph-card.c b/sound/soc/generic/audio-graph-card.c index 4b384475b9726..7655425a3deb1 100644 --- a/sound/soc/generic/audio-graph-card.c +++ b/sound/soc/generic/audio-graph-card.c @@ -372,7 +372,7 @@ static int __graph_for_each_link(struct simple_util_priv *priv, cpu_port = it.node; /* loop for all CPU endpoint */ - for_each_child_of_node_scoped(cpu_port, cpu_ep) { + for_each_of_graph_port_endpoint(cpu_port, cpu_ep) { /* get codec */ codec_ep = of_graph_get_remote_endpoint(cpu_ep); codec_port = ep_to_port(codec_ep);