Message ID | 87mso24ydy.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from OS0P286CU011.outbound.protection.outlook.com (mail-japanwestazon11011009.outbound.protection.outlook.com [52.101.228.9]) (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 B54EA17C9; Mon, 3 Jun 2024 01:18:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.228.9 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717377517; cv=fail; b=Qn94aL0uoOKC7CwLW/VHc1YvItOOgDMdJmBM1pBzQN7lpBckvTMI5yPKA0QDBgF+i0TiqLnlcW+6O2rjPu6cP+HBdoXGvAD97iBCZfXPaBIiRmYNUaa6i34Dt4B/CBDxTto/MNCaRC8ypYmRxluMr5Byt+/+5bP1oytnK3RsdXI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717377517; c=relaxed/simple; bh=uceUvCGwLuoMrbqNp+yNdos4nDNpPBVY4SNxjeyFpOQ=; h=Message-ID:To:In-Reply-To:References:From:Subject:Content-Type: Date:MIME-Version; b=UKT76rXAvNVLqte1jSUk4akhDTmExd0pkCPzmVUdMxYHUgIewevqVlF/sXEC9E5vedj1sxa+gnTzbppCamr4XLWqNXvFPZ6yBA/jPqwLjf+3MlhulwBrVAHaDgkvnpDY1NSF1ku6AYPhsjIpXtLfRx0S1HdDTY4KMCVi3XBdsBo= 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=PwxNyStK; arc=fail smtp.client-ip=52.101.228.9 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="PwxNyStK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YlAyfg+dNISPkSr4Tb1jIXXCeRTxi4Ez8qZUq/JrJ/qFk/xjkydXQLXQJpmKUMHzFK1dV/SuQ+DDyw4Y84FLHxd5wpaU66PEh9UtiLpYgT8e7/eQomZifxDZmPNSuN4eOUe81o0jMR5SYeelK9iY1469rVRTx/ifUsMpWcN5IKywuYdZEv7YM4F5iJ0h+T8G27wkDzLkQyheJKxP1AbPfAO5uMPtOZ2DqArCIz3q0ps9UdLTSl5OvtFxImZff7LFLOJh1Zs+PwguKTOpt2JH8zHF5o2kPyQhMOPf1hbfBfgcn8NQ5iNeAZ2bYjFz9jzPrD3NFFhbtpocmSLbElhQkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=TzMCVV5NPWYM3brKH+nwYP+wX2ZizcEpv6rpzs6d6YE=; b=TiOzDqoS6xKeWAUgSLojQuQtM/4+dj2/oeOIs6uK0w2VXyFu6oUx7f1IPnu3Ix1V4bC4hmRhuMdsIWtP/8kx5w1QUFnQVq/qarm0SedpqEWsLgtMnp8eF+W+1lcQzZ12C5CjG0wPSmOcCY6/d6oB8wy1SUiS+wHivCYIfybq44MRlV6Q2OWqj9KEhTBb7Dm/VmnpnR8Uq3B+2xzhvpocIu/BnG3ormfHFRUTzNChUSOTNWPZdksbRgdX3EUZiWZWXiqpt8T8JN91Jw0+XMLJ9A3IG41Pkw15GWkGvZyguccawVWQSDnXttyA5A+cWhrrRNlNITCPnIYLcW92Va14yg== 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=TzMCVV5NPWYM3brKH+nwYP+wX2ZizcEpv6rpzs6d6YE=; b=PwxNyStKhJyKCTqkIGcGUAxuu/1QSiRP4ANawQhRtnfjJipV7rWsNMSWAOcu1pjaC52I/ID17jW09bbkNY/VuPEUIXOGOtHKV4dYSvRQh9FG3PpP6LA1SWdSAz2jwQ87Jj/YEBWewuiFd0Jsl2exdCIeVYPJdVxnSFWxrrs8D1A= 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 TYCPR01MB11318.jpnprd01.prod.outlook.com (2603:1096:400:3c4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.26; Mon, 3 Jun 2024 01:18:33 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.7633.021; Mon, 3 Jun 2024 01:18:33 +0000 Message-ID: <87mso24ydy.wl-kuninori.morimoto.gx@renesas.com> To: "Lad Prabhakar" <prabhakar.csengg@gmail.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Claudiu Beznea <claudiu.beznea@tuxon.dev>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Eugen Hristev <eugen.hristev@collabora.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Helge Deller <deller@gmx.de>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Maxime Ripard <mripard@kernel.org>, Michal Simek <michal.simek@amd.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Rob Herring <robh+dt@kernel.org>, Suzuki K Poulose <suzuki.poulose@arm.com>, Thomas Zimmermann <tzimmermann@suse.de>, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>, coresight@lists.linaro.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-staging@lists.linux.dev In-Reply-To: <87v82q4yg0.wl-kuninori.morimoto.gx@renesas.com> References: <87v82q4yg0.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v4 6/9] media: platform: xilinx: use for_each_endpoint_of_node() Content-Type: text/plain; charset=US-ASCII Date: Mon, 3 Jun 2024 01:18:33 +0000 X-ClientProxiedBy: TYCP286CA0099.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b4::17) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB11318:EE_ X-MS-Office365-Filtering-Correlation-Id: c8d84380-15f5-480f-1037-08dc836b160c 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:13230031|7416005|1800799015|376005|52116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PQcmY6bID40JixJUMeS4de0WKEjlLQy73Y+N5opziRS2XN0qzGFTYvzKQl6tfTbWtt47Tx6/KGf/MxQvLz3Scxlo0GqoGgLrUIyy6MKdgIDIzZzfj/wmk3xkdj1YkwBSpQP2YGl3SJWiJlRQyjMBVMTzhoI/TNctSYsS0aTV9IXIAJBDn6F6qSy89l8W+QpWUD0WwtJuUk66eRZdze+FQ+/Z+IVs7ZwQh8fvAsqUEZWTXFGjgpDswIb97gJAhJsCN3LJqUjo5R+FUlTZvC8BYwQlRXHGVlAPz3AS2ie4uXncdZsMir4r60wFOkM1VYsoRS1pG+gMbnyEkGs= 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:(13230031)(7416005)(1800799015)(376005)(52116005)(366007)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: A0R3aZb6jWjR0PTSmYPYTok1XvZhJVROBsAVXoxgh4N6k/yg2OAu5AnOuiHX/a3kPFbPOpxR/mDHf6EZOiD4I96GsMaAfFqjwLrnmfOJl++9ApXgdeHZCc+KyOMpCsgDVti3S8XsFz3KI+d9NghD2QJ6jjMoNNJDGt7+BOPxWS18ZlXiq+24ybRv7TEzSnERX8PqKFLA2YucvDw6qGYVIT6xP52uwnAShhI+JDOnpKirDr1ivACRd8yTtsV2K4NGjqecQ11x2r211jQeZiVTyZCfdVvvu0Ct1YJmWC4hYKCDv9sgO1lOug+j8BjFOb7qPMwkm+TzBfq8NeyuhJ5JvHYZnUhhhDC2VBHYGwUM0OM+N63AgaAIOO6TCYRqklzigcpTIFawksiAOhmE+D/MgwvTMm76I2tjI89OKJuKFhNSkuF4G+KOsFwikFO6UN8V9AGUIJ6Lwji2xdiXsix2gVMWeY97jHjfVfpwwryxAIe0NpSxmu7Tm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y5+yR1juGsew5eiOYE2ojp0MlGFZTbub7QXrPuK0Y9tuWsDw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8d84380-15f5-480f-1037-08dc836b160c X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2024 01:18:33.5339 (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: 8Mz4xL87rw3/XBEX5mpsKSXtEWDqnZyH4laQLiffbpK67ifJfwbc4kqKIWVdZlVS7UNVrkflkCi20yneCC4CE2lvMaL161WtSGONwSdCA366k7zbnrG36QSwC1fuGBE8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB11318 |
Series |
use for_each_endpoint_of_node()
|
expand
|
diff --git a/drivers/media/platform/xilinx/xilinx-vipp.c b/drivers/media/platform/xilinx/xilinx-vipp.c index 996684a730383..bfe48cc0ab525 100644 --- a/drivers/media/platform/xilinx/xilinx-vipp.c +++ b/drivers/media/platform/xilinx/xilinx-vipp.c @@ -199,18 +199,13 @@ static int xvip_graph_build_dma(struct xvip_composite_device *xdev) struct media_pad *sink_pad; struct xvip_graph_entity *ent; struct v4l2_fwnode_link link; - struct device_node *ep = NULL; + struct device_node *ep; struct xvip_dma *dma; int ret = 0; dev_dbg(xdev->dev, "creating links for DMA engines\n"); - while (1) { - /* Get the next endpoint and parse its link. */ - ep = of_graph_get_next_endpoint(node, ep); - if (ep == NULL) - break; - + for_each_endpoint_of_node(node, ep) { dev_dbg(xdev->dev, "processing endpoint %pOF\n", ep); ret = v4l2_fwnode_parse_link(of_fwnode_handle(ep), &link);