Message ID | 878qwkqa0a.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 B4F9BC5321E for <dri-devel@archiver.kernel.org>; Mon, 26 Aug 2024 02:43:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 12B4010E097; Mon, 26 Aug 2024 02:43:38 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=renesas.com header.i=@renesas.com header.b="Lw6Kziwb"; dkim-atps=neutral Received: from TY3P286CU002.outbound.protection.outlook.com (mail-japaneastazon11010025.outbound.protection.outlook.com [52.101.229.25]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6776910E097 for <dri-devel@lists.freedesktop.org>; Mon, 26 Aug 2024 02:43:36 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MpoX/rm0mhWzYtepA42nH+pM5H+npbF49jTy0LicIhk9ul7PjlFgr4Gt7fojsXZQTWQNGGSF/f9PzzIICH3QXucGfySEBn1GftAWwV5QfG1jkxokmVvMxLC7dOPgi7eXIIZKR6zx80P7vcFEvFAKdB+eglfKWUaHsXkMW75a5UXBnl0wedv/MK8szIlj0/h/7cKEz0zCGg1IvUHsKKsrVQg9w7+3xxJJUuW6CaSkcosR8eDosk/ayYDqV1hB5B4foXbVJLi1u+CwdyD5XzWR1ySOJHXclyq+RW1a6J7SuK34g25EiOIN+TS2x24yrhPBPFDN9oQCfr38qG7sjrVEog== 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=xK9PRpr8g92RSfeAYqS0rsU3uHRBqDoo+3h1U7ObAgs=; b=LuozuKqDgkHJIz5luKmlm9lPbT+TZC7yieutD5MIemJVIk8HeKwrBBvcjipP75naDY941mg4XoWLX/X3WkzhG2vPcT3QBqJKQkjbJJMgwB98CNL4RE62Ti5Y/LqgS+ue/Nn9Xbibw7lOs705EqPAJPj6MvcOLLZxoDaNlIvUvUJfHr6evDUcbMg+NfvdsM6yNAlxTGIMjco1DQKfAbFfbHJk3uT1x1ja47l2Jxd+px35QzVATjnsIiY851AQxTFBLLsZg/DtzLjMEJJjm4CJ0k7PkU1TYurm7gKyBDHef7x5Tg2lv+ZerEABVyTJjgNKo4+d4S2HADsd4clB6XjsEQ== 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=xK9PRpr8g92RSfeAYqS0rsU3uHRBqDoo+3h1U7ObAgs=; b=Lw6KziwbVa8vC8hZa/G7afZ4ewBVHTkks3KBsK37Fb7huYi6q1Y+Xucr/Ttg5jRd4Q0k0WQmWAb7+pvYh2nNcCcE3t8Or+dCzMRq0DpOfzLreYwhBYuCXwhGcZyzr74fXuZ7VCWoFrRNPQH2ZKO//UX57H6GAiLVJzbV+yV8rXI= 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 TYCPR01MB10616.jpnprd01.prod.outlook.com (2603:1096:400:290::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 02:43: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.7875.016; Mon, 26 Aug 2024 02:43:34 +0000 Message-ID: <878qwkqa0a.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v3 3/9] ASoC: test-component: 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, Sakari Ailus <sakari.ailus@iki.fi> In-Reply-To: <87cylwqa12.wl-kuninori.morimoto.gx@renesas.com> References: <87cylwqa12.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Mon, 26 Aug 2024 02:43:33 +0000 X-ClientProxiedBy: TY2PR06CA0028.apcprd06.prod.outlook.com (2603:1096:404:2e::16) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB10616:EE_ X-MS-Office365-Filtering-Correlation-Id: 6e7600f1-cb58-47b1-3aa8-08dcc578e0f0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|52116014|7416014|376014|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: +AsNRX0qBUbqaHRFfdW6Q2ofxjyIkp+mSKd/qX5C1bnYorVBFV1KORS6ZdQlzit7H6lZgCq50BQSRL24t8rEu2f6qK6O2eho8Vg9gUTqk7/e6l6vBIOPu04hrzRDeZZlZ25VjBunEAbBbofK+ktxFpLaDXpWyV/WrQbQOQLvBHNwuV6elJzQ7kM5JKm2EZd/eLJNtiN2VzL+dZbrqfCUmvuZn4VsdBXcI1b6LeWfr3fH5iTmS1Ex3+jF4ZzYZOEGzvPYutPzsS8ohGyrWj2kzAm0QhUarChhlezDO3nmSmnlB+5/h2kW1IIzQfEm6Yg6WJBX9JdjPMtDDV6qoiiIuUYTSkUmbt+SHoULWjNXjtBP68mJ0p8SPrKWaKtM4LpNdTS3emE6dcXij0TDQqKzJqMyZIjY1v5s6D1sgRMzXJFnXr9cGpmfyUz89kg5irLiZw/ugMcAMnfQmSZStYPE65pNDdSfcfBtUjDAce2U0RPngmpuaVNDLoJQhHcFWUKtviyXHOkXw2TVTO57G0J54ePsFxJFw7s5d2YBR+mjJhoiEqw2NleitrrJKFsCLab/F5uZMLy8DbihjWdjGASkKEMZjzCrRXE41CbuCWkRA7lvei0E0g4jEPVHW+fMfwlCIuR5yItLP5QUn+k2u/89KRwmbC24z1hhw9VggsnTTbox3ty3FOgwIgGjNJzzqr/rIsJLaiODT28KW3tGmMjpO4bH5UwiHef+Y8Dd9a1MX4rSNPwulNR+D2Ee4TFPqc6JqfReNJ3d6GcZ+o94utak0wBtwa5g+gbtlQlM8AgVq4AOytJrmGw2RYDKVa2gh/mX4H6r9Oe/eaX2Z3DseajN3yWIrEdtKfkIrFjY0GhUtHcXScPgmHIpyVG6d2KhQUowCcFIA23gRs39EW8zg+VDDkASAGPG7PNJy6iRw2LkZsfxwTwNdpGaG0HasRmmOALzWLLYAngXPQ6k8OBaFJLzHyQ5ttlonbszkGgnub7t6S8JpPpb9YF2R11Mzsu/CoIpBYABxQSOxywq+f3KcNLJLKfZ2cXZ6KlSh6K3lZ5StKtT6zBTM1ljSCXf5NNk8yYgPszK5ntd5RFOdokPY9GS2wBmzUtqy0FVfSe0ZwJEe+dca2bUT+Bs5McpT51t46QJf03hORvZjSKIXcMqMHUTPZsj1YGpROVgoBIbMsoerzHfVmm5IB54Dzwej4CJx6NSWwRSKXm9SRqbpk5WmluGPmH3VHCD72TOFretEwtQZL5vckPDX9RjBLd8ZbmWNNJ/hpBIrF0uvo9mpA6VdME0Jhjk+V3yISynu666In0bA2lbngOdG5wBZoAa1SodQoVCVMcbpLjTOv0omibDKxGz6aZg1KaU48Xcm4oIEIuAQIehQKBWA6MDAINgNRx/cJY+VWRQWgQhgisTDug0JSUydfukqYeZw3BmTHswOuqedNQ= 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)(52116014)(7416014)(376014)(366016)(38350700014)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 94o42hLFowFzvBBaK1NqVbEBYMQ+BD1705PPD1NWSsgm0ojjKKtzPKTqSMPhgp3LjNydri8x/viZJxxKFSMQngMTPS4++3Yyji1SufYcAsU5Z9fUIJwM1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AqPZgVBwM5OW3IeP7bbluf6y5pSxK1NXbicYMeyn3SMeZatkimOzeo1fMweaiMeumfAb83XD0pVYojRgRlWnq8qIqyetPchEG+72N5gcR+vvqDyH+/tVAOMAVCVyRORqhSIP+KP+4Am/4tEXNMwz4/wluXBAF1HvfLZZErMcMiE8vL4p9X4FTMdHpXgTZSB0THfxUOrE5YF6s7gRP6ZPtkR7b6l3M7t4K/oQEovl6eHGVwyZ93LuTym7wKBGiQekzPOP6S6JtIB2oY68phgD/18k6WGw1E9DG6WFcvRwMofLBP9WM73lVaXKn0F1qQrRiiL6naLRDwspXc9Ng/p71fM11Fwj/4zkMaFfZ7O67o5jBSKo3Zhz4r3J+tLB06p69XvJl5w2AZpyZrglreR4x7VOPemHMQMkW2kd+ccfILlIVc9sZuw5Gw/sIpgZqPJsAR8VwwXm1yTzq4= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e7600f1-cb58-47b1-3aa8-08dcc578e0f0 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 02:43:34.1092 (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: 7IqyBmu15slUaCazMWs6xtbqqqnOwGpfCl6Vn41safxeIoxZwlglaXDEOz4QSCbqC5nbtk7sRrAgmgcFuIKFrG5Nm4RSw0CkNOh/m5wID3Noj52QEDBTNCvahO0kXftY X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB10616 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/test-component.c b/sound/soc/generic/test-component.c index df2487b700cca..93288f7fa3861 100644 --- a/sound/soc/generic/test-component.c +++ b/sound/soc/generic/test-component.c @@ -521,7 +521,7 @@ static int test_driver_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct device_node *node = dev->of_node; - struct device_node *ep; + struct device_node *port; const struct test_adata *adata = of_device_get_match_data(&pdev->dev); struct snd_soc_component_driver *cdriv; struct snd_soc_dai_driver *ddriv; @@ -591,7 +591,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, port) { snprintf(dname[i].name, TEST_NAME_LEN, "%s.%d", node->name, i); ddriv[i].name = dname[i].name;