Message ID | 87msnks7tj.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 CC09EC27C53 for <linux-arm-kernel@archiver.kernel.org>; Mon, 17 Jun 2024 00:59:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Date: Content-Type:References:In-Reply-To:To:Subject:From:Message-ID:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TzMCVV5NPWYM3brKH+nwYP+wX2ZizcEpv6rpzs6d6YE=; b=QBjzOFzkVRPVNATnkR4X8NttU2 fkV2NVKHvxawXEtqZjRQIFYFD5q4yd6R6ES1goNxDL1SVtf0YoVbloF9HKmAUYqqSVEGNHxwQN+ht +DKTsT8sxdZ7xZYwMwKeBdShbHCus/GyuUVRq0OLIqWNcCP8QiAfyERu1hcY5blpvyA5rasgbtgFD EK5gq+go3HK+P2wOcpuqyfwZKo/SIHHqe5Km6T5Ha87O6z/riKl8lXl702ojzFPOfK8JhuKUAGiyH uwvjvh6eEojsmIG2CHH5qD5X67iLnPdQxObfJyBpajyKYj5Z6/8hxqRPCC4k5Ev2EJFd4qrpjFV6F WOOnOGCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJ0id-00000008dQy-3pzR; Mon, 17 Jun 2024 00:59:35 +0000 Received: from mail-os0jpn01on2061b.outbound.protection.outlook.com ([2a01:111:f403:201a::61b] helo=JPN01-OS0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJ0iR-00000008dGd-3YEj for linux-arm-kernel@lists.infradead.org; Mon, 17 Jun 2024 00:59:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JK67/qMwXjkwT4wvlXXFPVx3F/1+YqKR0+n0/mPaQrproqrCaFFKqYMTHthk1NQWFDzvilBuj4JOpa4xLQFybq9V4UjBcqR0i3EpNYJl5VzBwxqh3cOFLN40H94xSwx3dOje16PlUJgsMxMxtGTyroWQTv6kTQ9EAnBXe/J/ip2PrfRJfZRI6nBEbVKg+ZFPvZAdR8OYN+AT+ssX7oUVQVbjSiAyZgwooEgLkYiMECGmsboUksJlxL197gOcqEBMRV6Ea+uFBuFu+N+V3/Q+cnNCbYT0pOsr1ldtnlgzRoaF0GsVaYl8e/Tw3W1Ju9vt49Vgvf0Z7ZaCHqgt/TPbYg== 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=IGOWRJirrNdZimnYbSoFqdWIo8BAAWQUnPoG0vRCo6eg05dkwFipTAXXCfHKucuNbwx1q37ZFzGlP8/5uRjnlpOL8k+tZvuH82ht/76d420Dy2paPw0O/jDOl+P5dtmHizwBCHVIcJAn+/EVf0BRYg5kHTvyLHI4/AfCFlBcSwhBUD6cXoLNphrcAnUuYwVJwaEjE8kyaGdFbyvSmcHOllQjcZwvXF3BeedAjMuUVlwYUe8uFYtQIRuDNCsfj+vqtCWpSIVn8/DUW7boRmlMXP32r/Au+wXKKou8PUn//JfSV71abrWd9/DYD4p7xmHex3SjVHIT9ETZ7wC5Qe8FxQ== 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=Fzuwy12Ydl7exl22CFDWhBTMfSe4lTtHg9dgChwPiAy9tr2M7L1cvnZUPPG/fqHVrrUkVNqZy63yl88sL+Z9m99WkBTpd5pDH+Y9/PDrdnHAgRWB/9XfuCdWJtX+EF7JjJ3v4wy/tmqRcFb4VGMCsZ7PEAVCFu5dTXiFsyfgeJk= 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 TYWPR01MB8560.jpnprd01.prod.outlook.com (2603:1096:400:13f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 00:59:21 +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.7677.030; Mon, 17 Jun 2024 00:59:21 +0000 Message-ID: <87msnks7tj.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v4 resend 6/9] media: platform: xilinx: use for_each_endpoint_of_node() 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, Sakari Ailus <sakari.ailus@linux.intel.com>, Hans Verkuil <hverkuil-cisco@xs4all.nl> In-Reply-To: <87v828s7v0.wl-kuninori.morimoto.gx@renesas.com> References: <87v828s7v0.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Mon, 17 Jun 2024 00:59:20 +0000 X-ClientProxiedBy: TYCPR01CA0171.jpnprd01.prod.outlook.com (2603:1096:400:2b2::17) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYWPR01MB8560:EE_ X-MS-Office365-Filtering-Correlation-Id: 97283901-a5de-43fd-200d-08dc8e68b8f7 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:13230037|366013|52116011|7416011|376011|1800799021|38350700011|921017; X-Microsoft-Antispam-Message-Info: Lp/eih9Foa68sVUD5z9T3mA2fKql5IEiUA1Py/cmVuCEqnA+Nlmv0xnHEVtjxuMre/9TN5alw2v12YPj74VBY274RVtAGTKEcUNHhH6/P/ISn0Bo7ZW/f83TGN4mhvYWBpWrxPAAoM79t24+n03oVPF+Ksk9D/mzIOCIRXcxA+BzBgbCT7iWZnpBZFJT7/fQbirxaeCjJ8zB9nJYU1GsVwsEKtp0H/av/RUuUA8kqKJfImFIdyxd3M93EO1/GPWfIdXg0Mh7heCQqshm53j6qQjCt6MuRZL87MNiGWqxcoOqVchbZEt9tEVycOf1D6oAg6vW931CYXqVNUnTP4fodyzxS1i5FHrnGtraexI+OvWhvvRNLiyphp+8KL4pB7v+WUcPuk1NzOO9BMoVEsJbE9a3GJTHPAJZ6k2eOTq9yRn0QA47N2wtCh64Vz+bDNso7nwuorJVNN0VpLbWODDqFOACmD2D/ze9vFcXCaGSb55sn5EsH9IMUs++3kd33ocuOqZjd/OJgD9lhHwgYTsEbNZXhJXrlmYF2pl5n5yfcoN3eqdhFTOcDNSheGuE+xa/355ejA8EYk9yINQBLNet0LWGmNjPIQvADFpkFnLsfqyDYFw9JSKt3w+tVsFVh+gPCzS6dJ4mc1YaWxQj2UNVQBCSGF72jwEQtHNyQw+wAWAJ46QslMxI5k8DpgoOed/Oib79cMEj11CNrclpSzpeadUlfZinSEZ9GI9K5I4fCN5Y08bW8vtG2wYwUYBtT/8Sc1HUCUudtbUzyGDnQbz8x0By70sG6j+NZqatKsY41jRioNwX7waa9dPVPACdqVtXYx7rAdMyeu9AaXlFUakr4IVBrFe01M8U7S/jgf+Zvv67gpukUjDzqiT8s2klgpeoMw/9vvOaIuyfN0KpiqhY9IY4XsWQMcRpVJD+2ck/V1ffdZ2EKs7ukocYiMI1WGHN4TWZUg87Jr0yJOKsKV3SalGTk/MtGcr2T8WnwYRRIOZMYICcUc8y+abLpBHkobRzLyseOfVcMX2QN4JMJooIG4vc9Nl+K0jzmP+S6eZOlUriFIfyKskWEwm6902Krr4zA92R49L4LMUrj+aUHZaMeM51376T5Xej5yopElhnIZLnnW3oZRkdP3MF+Hz4Xw5/QtojZPkO3dMwMyboZkjO2Z0+8bjWEitsiI2MRyiwyjVFc572glyn9t8OIgOiTZ0ilXibAtO1Uhcpg22saxwMXawEeZW3NtFKKX6CW/62s8iw/tPT/47AFawhQh06xHzBiKSh1XHbERjNhUa/6m2AXriNdWoH+3hDhUsyNgOyA2uD1nRhEGSkxYTlckGDHxAnFVtfn+u0tMJjHMaiahqtbL4Ie7zvZNxQKwlJRmVraQwPQ9ozEu5Inrt77R5eAhbv 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:(13230037)(366013)(52116011)(7416011)(376011)(1800799021)(38350700011)(921017);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ndHGorYUcgBssk6QamX4vhrmgA6UsAgHUX9OozVbb7aKOLA4RYtmVAzpWR231GZXg2qg2ndnZSi362U5D7G396eoVM9r57b5AhRNei/TUb01esqOSPZtpif7BRavRIB91BJiLVZSniPjoeWBNnfkf9dhOks3Kw4ReBZXWTdoNp+YpXzIhs0b/b4yaQu5Kmm3qJGgzwQpI1q1r1BljDAgj38Q99rf6Fq3Oi0b46MK120FW+eji/B5yoga9UdMwu30CzmNuOjZjXH8veP4htVZtTTfwfn3JyToDATBybgAbUA7zgAlqA9/pibqMYs5n9mBGMN4vMviCd9KPgZvuVV/0fQRu6UA+J4QqJufJjf8m5KXZsvuZvTYRJGabwMNoKq/17zrBWPz2py28RiBBD8lLqGeL6xir8uzFDRG+DqSltUiA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vj3LiasLPsPwlY6spQGc7JCFJ8dSgENTByyDJ5V7JVi7thcVO1cHLLzCG3iP7ywtMeNFGukIGd1qNQJIYNvY8HHLrCfDVwohbxgPu/BGiFwITB/WdogXE6EZVondcETTlxudJJB7f4LNDgVw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 97283901-a5de-43fd-200d-08dc8e68b8f7 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 00:59:21.2029 (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: Zi5tiCkJOOuJuA/ooYpzcqB7bhRajdcVesEpP88dbpUtZppRlrJ+HytqoIcEqWd5dT+MGGnE4luO4l4e9xTMg+weCu5ZCBcQDC32OgOhFIpJ7NbPmwmkTqgACU43zb+0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB8560 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_175924_078477_2ECA1666 X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
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);