From patchwork Tue Aug 6 04:58:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13754415 Return-Path: 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 7439DC3DA64 for ; Tue, 6 Aug 2024 04:58:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C6AC10E2EC; Tue, 6 Aug 2024 04:58:37 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=renesas.com header.i=@renesas.com header.b="QNHSCQZf"; dkim-atps=neutral Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazon11010032.outbound.protection.outlook.com [52.101.228.32]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7D94D10E2EC for ; Tue, 6 Aug 2024 04:58:36 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ICcMRJEt42+BpjxrPBxJflgT4wKE+9QvlyRVrf7fxrp4uDYOGuu/18tq3D3dBdgFjlr14lIOLVQZF0hmZrd47ZD+MuXdJDi7JZu329VwpoushE6T3pbU64PmZcDjKwKYliVG0Ew0jf7MGP/AaVNWu6SdaQnxvio0Mfo+ne1BuLfjROcMrjeUsOQiuAyzPvu6HQ9cvW7FgQiBRUkfiHfy42obJMZiJbITqGE/jSz0vpkviXOweyAwbmFo1rHL6Ik55BKOB4ztdR8Gj5tvDcBUSvEwBk5qypr5QsERsvbOAepYzvVzp9T/vX8ZJ/ZGIKf7LGBdWqUK8fzpBgiq/i4kFQ== 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=uGlg0CkyULW8ujQcwtS7IKQWgI1PLv32S0wuLSWvm9s=; b=n0L/oYjBwSAAuYeCWS7EXhrH8H9SGWy6Ya+wcVlzai4xKpDryWaF6kLlIsjipXM3sTIQeAczl4V8CPvEe0Rifb+eHmBKSIwtUqYXajdRqOgLpi6xvrjsHpHxjHFmXmJf1yJJjzU/KyJ8MNt6qHH+3tJaXTpxkVS17fKrVl6N1Umi/c3kmE20fX/HgX1W2LFLviQfUuqUfr7rmMXTe2j/HDHQ9uLz+ZuyjEDIrNL8Qz+3opP0+oPuSrhCyej2skSHFmqtbD+mk6xu7LoupS0K0ziFr17s707CL7iJpp52BsDtMdyy2WUWO8/kEZkNFq259GPmQegjJKHnX2UpI3mT5g== 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=uGlg0CkyULW8ujQcwtS7IKQWgI1PLv32S0wuLSWvm9s=; b=QNHSCQZfGcvxdp7sal+mfvLP/XVzXAXtMIvufz2bJEulqKUug+NG0vcZAENCJ+aGlCY+1TZMBRR3B1WFAU1zx7eEnNl8CfpVdg9tLfItvOVxHlieWbdnAOAF5n7uSEZbJfKAlHVIAOM/F1/UPkabSl2tRLKAbGU49epIRmnqJfg= 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 TYWPR01MB10409.jpnprd01.prod.outlook.com (2603:1096:400:24d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.24; Tue, 6 Aug 2024 04:58:34 +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.7828.023; Tue, 6 Aug 2024 04:58:34 +0000 Message-ID: <87ikwew8li.wl-kuninori.morimoto.gx@renesas.com> 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 , , , , , , , , 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 , , , , , , , In-Reply-To: <87mslqw8mj.wl-kuninori.morimoto.gx@renesas.com> References: <87mslqw8mj.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 3/9] ASoC: test-component: use new of_graph functions Date: Tue, 6 Aug 2024 04:58:33 +0000 X-ClientProxiedBy: TY2PR04CA0023.apcprd04.prod.outlook.com (2603:1096:404:f6::35) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYWPR01MB10409:EE_ X-MS-Office365-Filtering-Correlation-Id: 6b2d3f5e-bf9d-4288-9760-08dcb5d46c9c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|7416014|366016|376014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: UbUJurPE9Wpkoogtrk7AhQG5msuhNSXhxrZ3fX+F8e8fHhNqoNYSymLb03lOkBbYmFtFd+72qACH5Ur1Y1nHYbe/daHbfV4LYXFrt/ic7ftVsJ5sHqCPCoWvlfrS/LsQIb94E4Vn7Rkhs4EZ9t8GwJnHrZqs/wIpFZy6SBodXmuWPR+sfx7ZYA//ff9PLte3JhipkcAqi6zPdiK3bttkL2Lxc68qcfxVn/A1qL1AlgYCYmTY6OZk27BKLe30SfNUQ0SbnHqmFFUy3UIrcOv6ahlOMZw9DVh3yOnW4f8QueMG4PR4xWkuRtWeMdPTgZyZYtYpv3KVKa3Ge/0/ofV7JM2LC6GX/oZfX53PscURR2n+YFVehWoIlXSqeOum78MpkKKKKhZLQZeHUlhYrLGl7om96134SbeG1WABQlZ7nultGHdOkj3pYNpkoo07uEsTXajVns01Iwshk2jrCWab+rc+d2mB2k37KoaBkOBD5gXlEJdqasBpZ1J/u9p70fbU71lDhm6czn72s1BGkupowfo1CbO/sWuOnpGCXgbsQN9j0ZwD4345eqLjag1p6KXtYuPhDEwagarqzrQ6h0CI4vhRlliFaaj/L1XBfVL5zdQt5wy74bQIMlUiSoZ2Swyz6izgsprQgtwmlgZ53ZpfVS7zjQZh8iLfbdZNkkqqCJllmcaIz9ZYp5AeDEXewcnPkfbyItxolE+VwNuoa/I9VoLAiHyGpxr8WVR7U/VrSw9aSaZuE09fcsWIH0zESnUIBYOEfa8RsBWg20//k+0EfnIRIuYRAeieeZhCd9KQTu15Xr0fUJksVNw++1euUVSVBW1vnT7FJITjAca3v47L9T90wL0hc3HI9+8ms1rlIIbA+C7TxrNIKe/6Ip6SHFkIKKiw+1Svg1u5NMTtacU/2p4dzxIlPE2dvxGlg1pMib6Yue2oksJghEqkKTyVfVwRnUuKYmiuxQF9SVzI6ljzupwXmHUoGCukziantIeZKabeP0eqJDhhKIAwhnzDcKTeZQio3/ft0TKTgL/zxU6LmUPpmnrYjsKxPSYBYuG96CyafS1tZIGESMs7w5+qIF5GhMfnCcWlgg2dnf0tsigBuBEL4g7QtJC2sG3Yk9m2zDTwNGOeNUuEWFldJ+zhv0hCFwLPN1ZYKv7oBGaA+ZQqc5vQg6EH+LvURn7YZH75KnRtEiLK5o6+BffPgAiwTDkXOrVBRGoD8fySlVXqshoCtR4S+tYIVeHmPWwLAMouMRJE9obiBS+nda8fCJQzn/nMGAhicIOm/2tBC1XtvSoH8Q39ZsABebQrqybHh6Y8liMk+R+FarPcdS7oVKHZbKj0Gsk0fFrpw0ma2wqwH29lbDZGPpeFY4AXMAwS/jqZJ5tyiOlb9Hrn71eQsN4LEXKFuQWKSkT2ywBbgBcWJr+6Zu+yJ5uZJBLq50UrL7h0dsM= 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)(366016)(376014)(1800799024)(38350700014)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HAktsz3sk80k7QicCxXbqRqKLcJnYgFB43z8J02ND6qpTYXHbyWmqraYX+CxPlddaTnInntXk/qt+EVfx5roE1zzC4wmaQKIeOC87MYJaQErr9quGRnpFFOVx/cWpR35z1CYE30LeUOr87FUGxmU47Ro2POXx4bnt4FwGoMW2CMYnU4OGEEtYxIoH8hR8vmLM4xG1jk056zXKUKHj/MlOOAF2WYmgQ2wAgG30w0bYpQIJckhTYdKdPaQnI5Mu4ixqNyFCKRIP5x3YYk3n5zb8d7Rb1CSpEZKtVBVR+qoLi+aTfKa7TQ0jnDNsNz+wrOQOP5R0gn1hrFir0Us2fxugOAYH+otPkKoZ1MOtdETEvG6K/x0wpprKS0T2fGW7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wuzAB5k+fF2edGHFzs0HJPyt5khZPgrXJ79O/Dl0hJGUlum8+mA9YZFBBPJFo+R2f0AnTmMNjDDVnP3m2VfwEjSDQ5RAvmNw2fLyAfxZ/7S4d4CiphHM4vLkJwNx3az9L2ub6jYaQeSs0gA4p9Vfbdl0MldA16T2Mup6z68knngWJRPHJiBZOJQR0= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b2d3f5e-bf9d-4288-9760-08dcb5d46c9c X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 04:58:34.0671 (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: pukEHgKHAj+CIhsMwiQQXGtgfagVXU27YTMdP0y3K2wxIICkAia/WRy+nr1U+th7GroWn9s+oGPF5zgks9Y/DjZkSk2C5QD9bD0DpfyT5A3Ie/GAdcee/ZqqRcFdeEFb X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB10409 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Current test-component.c is using for_each_endpoint_of_node() for parsing, but it should use "port" base loop instead of "endpoint", because properties are "port" base, instead of "endpoint". Signed-off-by: Kuninori Morimoto --- sound/soc/generic/test-component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/generic/test-component.c b/sound/soc/generic/test-component.c index e9e5e235a8a6..6f75da9f86e6 100644 --- a/sound/soc/generic/test-component.c +++ b/sound/soc/generic/test-component.c @@ -600,7 +600,7 @@ static int test_driver_probe(struct platform_device *pdev) } i = 0; - for_each_endpoint_of_node(node, ep) { + for_each_of_graph_port(node, ep) { snprintf(dname[i].name, TEST_NAME_LEN, "%s.%d", node->name, i); ddriv[i].name = dname[i].name;