Message ID | 87cyp4oxyg.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2049.outbound.protection.outlook.com [40.107.114.49]) (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 B511C208BC; Thu, 30 May 2024 02:06:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717034780; cv=fail; b=jqVrQCDVdm9rgehWUI8jcRhGOCDrngr7fDwlfRLao/4yYRH1oxtKFIYyV7Ci30kMNYZZS5bRba1cI16NKj+Zwfd/8yHJymZ85Vx1JBRd3iqL5EzSgX5OQZq+c7BEjjcIO0/ZVUuJ7Me1e/EXLR/NiEhR2ZhuCZ5QAze/uP/aR0E= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717034780; c=relaxed/simple; bh=uceUvCGwLuoMrbqNp+yNdos4nDNpPBVY4SNxjeyFpOQ=; h=Message-ID:From:Subject:To:In-Reply-To:References:Content-Type: Date:MIME-Version; b=jQeN5RmW15T9gyokPU6vzg8PahUfdb3hsGQ0x1Gco2LNCunvvJLnei6xE9u31Duy9Qg2kzzABvipHJt8fCSKRw31sVg75nbjmuAmwFStYekuaqZfzI/xwndi9jooQul24r5qRv9YQ7BHX9p+N9yslw9HpBrCbqxX8uUnDA2wTY8= 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=oHujOBbQ; arc=fail smtp.client-ip=40.107.114.49 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="oHujOBbQ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GtkTF5fD6uChLKjxdIxu9ImDOSbgF15ItY9NyX2jSeVxMHYcnpYwcwaydcFw+2cTP7Gck5c70aF7h3ZcuDBNwmdOnNo74FghO8HjOL9I5/FyYSdlrqWiqVhkAdzWpKy1aXacLZnNPCj0tJQ3pa+7zg4pmBnSjBdeUt9hldDQn2q8WT4CzUOINeeiY1DZoTBIAUMDJEMS7t8G3EJ2h22B/6zqfLuYAHyYyfgD+J+5v0NTL7YcdNWNjlziVTH1oMKyo3I+ehkYsOzngtxIk0yYaQb3J4/h1BmRNLiNgfft5QppL72dZrIRk2WZscDmfgmoqbO0FMJ+4TgQFonKSBYsQQ== 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=Uu6cSaWW9Rd4Y4JNtVFryGDgZ1Y8gQ7qXCYRMjCes8/HWWEvdt4Ah1GLFroz48ukjXnlFG4KCaTlLcqFpE/SmhziD24AOhV4Aztc3/n0psE831jEP70upgKk/ce7v6/AhjlRFuK6LJ/iK7PQJfUdUPZ7YWbc/75aV4Ig4gAT1Rhx32adb0fNP51P3ArXDrrUjjyZO3dRUVCYt3dbBPVhA8OvL7/J29HUD2BiPzEbsc180CE7FCn2vA+d81HW/dJCukhZz2FiFsr6XXX7ba6sWT8H3Gd5sDtewz+fUIx6u/AbM1CQEqOw235/zND2j4J3BImMLtZ69p55Vuq486e3JQ== 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=oHujOBbQRQLshEs2SXXmcygjv5BbtZ/lcDLwOflAYwUCpNMXxdDOpH6URFjhXO/9a6B4PDmqFUrl6W5utEJdlSRcOlyF41SmZduQOujLtYMri8GAvupCb5Wi4ktP9FktQsG8EIYhhQEWPbjdH895poLDJRFsQv8UDQuSLJIpdS0= 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 TYWPR01MB10240.jpnprd01.prod.outlook.com (2603:1096:400:1e5::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Thu, 30 May 2024 02:06:16 +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.018; Thu, 30 May 2024 02:06:16 +0000 Message-ID: <87cyp4oxyg.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v3 6/9] media: platform: xilinx: use for_each_endpoint_of_node() User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 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: <87le3soy08.wl-kuninori.morimoto.gx@renesas.com> References: <87le3soy08.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Thu, 30 May 2024 02:06:15 +0000 X-ClientProxiedBy: TYCP301CA0066.JPNP301.PROD.OUTLOOK.COM (2603:1096:405:7d::7) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-omap@vger.kernel.org List-Id: <linux-omap.vger.kernel.org> List-Subscribe: <mailto:linux-omap+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-omap+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYWPR01MB10240:EE_ X-MS-Office365-Filtering-Correlation-Id: e4cc77ef-ef6d-4ef7-8fbf-08dc804d16cc X-LD-Processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-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MIXHLmwn2kmbld/VqNJMNY2iCmde2W66uwspzzQujDzA21+Ag6dItw9AHdtnKrFI1VXX4/HrdMLDJXFpQqkP/JgtVBiijA/sEjN3j01M0klK0JnhEe7cAJ1uOArLYflc+16dTE9/J0CtYO+E+LQi+MRKql4NHhZglhKmpdQlNRaBGLLF8dzmBouxSJOituNM4VM62D/fqR8fQjY2VisVxbEPp9ZFG7NMJRFKlcj3zs/b68k1CFCxBcg5ccHuwYYi/HU6ReaIlsXQKRHOVrVKRSD325eIwwm1TT6WJN70jyhUhblvIYJt0Oag9rX/qmkIiX968sg24+a+W4KsDSnvyr96sxsqdtVcRUuDldxnwSjZxpAt77wSjp/v0xg+OsbBAGDF8= 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)(376005)(7416005)(1800799015)(52116005)(366007)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0Oi4nsCbeaFp/xCFHUDbetyvlbeTMFnaWkJZZB2mQG7PpkjqaUN2Fxr/IpqpIlpQ/75KKYxkXyBgIhnr/t+gDhsZW5RYinxXkn5LjGT6+7DygAcV0RIqN1ltv/tzYLCCpPSr4suXdumwr/PU4mea9Y2jNasiKMvZLti5NW0zp0o481np7/VpDLPn5rO3PMFBqhOvU/msS2LJXFTmoVeAT3I5vxg/07bqmFzzyKrdFircwcnZTmdSyrsVHH/1yl449gW5Qo7p6Bua5+xwb4QHFRf9p4143ehknoqJLHFtadOc8ZCDIeeeiGF2qLkwBdR6mHYs1PuS1jb0b6pX8JJVMmpfeBQeTYBlam6zd5y9VisFvyEtE+t4JSI5kYvx+kOVtTlNRLJF0v2YxV878HW1P7KyLFRHlcG3ZjGpCFu5b4td2dWfxKhoIp7LtLHa4hJcTp4BGbvydxN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79qYWdDXxHo18YDrr2ZYn1UdI3No4uVEd3G/LmkIaN6aP/cAjd6w0Hq8/Ix19iAmKL9Dl8/aa34364Y9RnhMcpOY4czcLP+3k7Rs= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4cc77ef-ef6d-4ef7-8fbf-08dc804d16cc X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2024 02:06:16.4125 (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: f3O1Vi7W1KY7lwztQ3dMhWKe1nc6WX/yQS3lUPCvaiZNceXLXPt19kWRXgMpMFfkQsHHrTIp1u5phsOuPYdKAe9T2bZ2FtjFdc5RCZXTfpQPa1cmSBhnvu5uNkpy4pNt X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB10240 |
Series |
[v3,1/9] gpu: drm: replace of_graph_get_next_endpoint()
|
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);