Message ID | 871q9y6qhg.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 D6692C48285 for <dri-devel@archiver.kernel.org>; Wed, 31 Jan 2024 08:21:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 386EA113A60; Wed, 31 Jan 2024 08:21:00 +0000 (UTC) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2136.outbound.protection.outlook.com [40.107.114.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6436E10E523; Wed, 31 Jan 2024 05:07:04 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NdYOO1d+3C/EmVc3gF1O0/qzdQTRWp+MrzJI0gh46Rt/1fuGYZN2HIjtUs8feva4tDz/ZbiPF2pgzw5TildwQNo202/8zGbWMIxlwY5zhr8cNlWnyogCFezxS6xTvPwn4ELCn/WLi63OffX1vu5Sh/VZVcP8vLl3I8F3Q/ys8diglYw6FNVzNCRDtBvPGB2mB+gY+eQwxRZpr6m4BEGKXJytd7wZfezEvzx9NkXBiV8UlnfBG1Ber/9GpCblSCJ0EeQbrMwdVbYQscG2Y1bpFC27S5kL93QvFhDcRpzTEnAN50od79qH32bkCGqJReRkIkBeoSK0EIVKfXijl1x3Rw== 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=4Ta0A2ntUQAuHR9QKhOHXG9r8oJe01sAuOLLlkFhhVs=; b=VVku5e/W94/PBSq4/5RxZGsp7nPLKt5dRzN+TjuN5dnxssywvsx2NpEJ1YYpSzpORdkuwn+UJ2/iGIsdpmhRljY6VsAe5o5mWRdOkesz7QI3iDKtvFoo72SLpim3nkB/3RDH4eiD3ADJclU1tqfEgoH0Oc1T92MMZ9SSd3LBuUBPpkPSOkGrtkZy1K4uS5Vu39XvEYJdh4LLiTf7GSvOb/dpuTpTRA9VBcUp+D9/o4nFkA/JY/rYyelbwwXi81pMexifVGADxyuCKkgt9JIx2UGDbukVZAYbrLVaRy+E9jKGumXUQ8HJ8BNsDeVILTQlQqojiUlNRAPOkRfUc4N03w== 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=4Ta0A2ntUQAuHR9QKhOHXG9r8oJe01sAuOLLlkFhhVs=; b=o3RexiFHrD407F8W0bEKjytvl5sdxZuZqb4+4mrtvbaCzXOxT1twRVb4if0wAP8gC5NtnfD4Ry0BPN/s7H42L3IwM38u4iNRMnSH5uPxp364mX7IAfKLQ4t43X/xktlNODu8B8ms9pRuqLzELtQdAampmgsgk+cuZGxvOL8JYVU= 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 OSZPR01MB8896.jpnprd01.prod.outlook.com (2603:1096:604:158::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 05:06:52 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::ce8:8f5e:99a0:aba4]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::ce8:8f5e:99a0:aba4%2]) with mapi id 15.20.7249.023; Wed, 31 Jan 2024 05:06:52 +0000 Message-ID: <871q9y6qhg.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> To: "Bryan O'Donoghue" <bryan.odonoghue@linaro.org>, "Lad, Prabhakar" <prabhakar.csengg@gmail.com>, =?iso-8859-1?q?=22Niklas_S=C3=B6d?= =?iso-8859-1?q?erlund=22?= <niklas.soderlund+renesas@ragnatech.se>, =?iso-8859-1?q?=22Uwe_Kleine-K=C3=B6nig=22?= <u.kleine-koenig@pengutronix.de>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Alexander Stein <alexander.stein@ew.tq-group.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Alexey Brodkin <abrodkin@synopsys.com>, Andrzej Hajda <andrzej.hajda@intel.com>, Andy Gross <agross@kernel.org>, Biju Das <biju.das.jz@bp.renesas.com>, Bjorn Andersson <andersson@kernel.org>, Claudiu Beznea <claudiu.beznea@tuxon.dev>, Daniel Vetter <daniel@ffwll.ch>, Dave Stevenson <dave.stevenson@raspberrypi.com>, David Airlie <airlied@gmail.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Emma Anholt <emma@anholt.net>, Eugen Hristev <eugen.hristev@collabora.com>, Florian Fainelli <florian.fainelli@broadcom.com>, Frank Rowand <frowand.list@gmail.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Hans Verkuil <hverkuil-cisco@xs4all.nl>, Helge Deller <deller@gmx.de>, Hugues Fruchet <hugues.fruchet@foss.st.com>, Jacopo Mondi <jacopo+renesas@jmondi.org>, Jacopo Mondi <jacopo@jmondi.org>, James Clark <james.clark@arm.com>, Jaroslav Kysela <perex@perex.cz>, Jonathan Hunter <jonathanh@nvidia.com>, Kevin Hilman <khilman@baylibre.com>, Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>, Kieran Bingham <kieran.bingham@ideasonboard.com>, Konrad Dybcio <konrad.dybcio@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Liam Girdwood <lgirdwood@gmail.com>, Liu Ying <victor.liu@nxp.com>, Luca Ceresoli <luca.ceresoli@bootlin.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Marek Vasut <marex@denx.de>, Mark Brown <broonie@kernel.org>, Mauro Carvalho Chehab <mchehab@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Maxime Ripard <mripard@kernel.org>, Michael Tretter <m.tretter@pengutronix.de>, Michal Simek <michal.simek@amd.com>, Miguel Ojeda <ojeda@kernel.org>, Nathan Chancellor <nathan@kernel.org>, Neil Armstrong <neil.armstrong@linaro.org>, Nick Desaulniers <ndesaulniers@google.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Philipp Zabel <p.zabel@pengutronix.de>, Philippe Cornu <philippe.cornu@foss.st.com>, Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>, Rob Clark <robdclark@gmail.com>, Rob Herring <robh+dt@kernel.org>, Robert Foss <rfoss@kernel.org>, Russell King <linux@armlinux.org.uk>, Sakari Ailus <sakari.ailus@linux.intel.com>, Saravana Kannan <saravanak@google.com>, Sascha Hauer <s.hauer@pengutronix.de>, Shawn Guo <shawnguo@kernel.org>, Sowjanya Komatineni <skomatineni@nvidia.com>, Stefan Agner <stefan@agner.ch>, Suzuki K Poulose <suzuki.poulose@arm.com>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Takashi Iwai <tiwai@suse.com>, Thierry Reding <thierry.reding@gmail.com>, Thomas Zimmermann <tzimmermann@suse.de>, Tim Harvey <tharvey@gateworks.com>, Todor Tomov <todor.too@gmail.com>, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>, Yannick Fertre <yannick.fertre@foss.st.com> In-Reply-To: <87o7d26qla.wl-kuninori.morimoto.gx@renesas.com> References: <87o7d26qla.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH v3 16/24] media: xilinx-tpg: use of_graph_get_next_endpoint() User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Content-Type: text/plain; charset=US-ASCII Date: Wed, 31 Jan 2024 05:06:52 +0000 X-ClientProxiedBy: TY1PR01CA0197.jpnprd01.prod.outlook.com (2603:1096:403::27) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSZPR01MB8896:EE_ X-MS-Office365-Filtering-Correlation-Id: a045fda1-913b-4c29-8fa4-08dc221a702e 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; X-Microsoft-Antispam-Message-Info: Sc7A7rpLdIo9whqJZthZfxYfYVYcaunPpgJasbVCaKYE0algjBXiAf2UrKH2uNIke7lhVTew38VBTQ/+/cJ1Z9QoHaQDrGdR+IvkLmN0WRF3xUZ5Oy4bxalZz5rv47Fo76Osw2N1/7TqosEmF0scCN6MJ3qufOhIf47ZZ8hs0XGW5sQVVerw8PvMnjqkaiQ3aN9hCS7wyjSegrNZ4QU+gkAS+AKRryyN561v9mEk1V6QT6tlR4i+XhXFnIDQfIoY7Eoecrq23P4Yt+9vMhaVJIPrkoq0abnlfTaA0wlQU3wsEVwY3GKla43yg3rSsXpZP1FxAU4PUFrxZeFO9mpmn65S1LlahB3sJPUiyccFccaQ7ifb+1RVpkxZwr0DwYKawtBT6mP1cp7H6mMkziSZY+fz5ji0n3TBpZuFhkkE6CXBrVfRRAP6KxK8aFBEB3604PSNqkGZ1TwEjDKTOSL+1ncTWQbuRseqCdgYomeYzdH0mRWByTxr/uai0nHxBcft2Q+DinTbVCSnfw7e9d3ZYMOhybi2A3weAV3YYYdW+VNtdvlPOKWlX3ijR/qkxYP5rklATn02GuiUvMqYMB+MoRsH8+9Wie73AIq4GL+naghozT1n7MpaH8aQ3HpB0Iny 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)(39860400002)(366004)(136003)(346002)(396003)(376002)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(36756003)(4744005)(7336002)(7366002)(7276002)(52116002)(7406005)(7416002)(6506007)(38100700002)(6512007)(5660300002)(86362001)(83380400001)(38350700005)(41300700001)(2906002)(2616005)(478600001)(6486002)(26005)(1191002)(921011)(66476007)(66946007)(66556008)(54906003)(110136005)(8936002)(8676002)(316002)(4326008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3RInqMXpJSQMm3SaBmrrHpxbRQhQPU0I4x5Gz6RNMjaLqPQxQOH1QPkxCxNUq4MQLeZhkM4bKrcUmgqCBoV7TjLWBsscTEI/aT9etuY6hXFPOFC1Q5enGS5sydfd+VVtvclqMgGVSLwmhqVwqk0RSZGzrugfEiqkixk5yhYO2EHgiEUYCIVKIEIzq3UZkfXI9EoOJ8w2YpwJzKNyfac5jQ/i3wk1GCiGE1DesplTVbX/2f95ely8Up8rF/plZDdafOOQPRXJ0hcYOtxfbKTOEJmCU6UgNiDATM69hR1SOq7aPQEavAjPvKnkB4DnLfCT7jOu1YsxnTFECHSjY73Dh+1EsTwbT9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g17hy3W54sLSBY9dkAqAUSit6dm/LI5s+za+UbOu4y0xg6K6PH4cjkD2FYO3qWlMW7C7XXYcrGliQArktYlCGFTEXQZY4+dPE7WasCQaWVS0RI+XSaawOx7THMpaheb2feIi4XPEqTvIXOELz1C0szEGqefReFUZ9tXez+H/sh3jGeKoYfmkM8Yz2HuAOvp8GF4pHVKI8c9E= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: a045fda1-913b-4c29-8fa4-08dc221a702e X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 05:06:52.7338 (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: EnFk5UgbCxn6ZpxPseSE3ZzIFnqRJ+C3kKppzkclecSDJzVi5z6dIEO8nGPDP0Jw6R722r2UHRmQhwsVPsIoNZzBK1/jcy5lievViuCh7/o8eQ7O47D30i23NKQoWKoK X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB8896 X-Mailman-Approved-At: Wed, 31 Jan 2024 08:20:59 +0000 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> Cc: linux-fbdev@vger.kernel.org, Tom Rix <trix@redhat.com>, llvm@lists.linux.dev, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Alim Akhtar <alim.akhtar@samsung.com>, Marijn Suijten <marijn.suijten@somainline.org>, Sam Ravnborg <sam@ravnborg.org>, linux-stm32@st-md-mailman.stormreply.com, Jerome Brunet <jbrunet@baylibre.com>, linux-samsung-soc@vger.kernel.org, Fabio Estevam <festevam@gmail.com>, linux-staging@lists.linux.dev, Jernej Skrabec <jernej.skrabec@gmail.com>, Jessica Zhang <quic_jesszhan@quicinc.com>, Mike Leach <mike.leach@linaro.org>, devicetree@vger.kernel.org, Jonas Karlman <jonas@kwiboo.se>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, linux-arm-msm@vger.kernel.org, coresight@lists.linaro.org, linux-sound@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, Jacopo Mondi <jacopo.mondi@ideasonboard.com>, linux-amlogic@lists.infradead.org, linux-omap@vger.kernel.org, Sean Paul <sean@poorly.run>, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, Leo Yan <leo.yan@linaro.org>, linux-media@vger.kernel.org, freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
of: property: add port base loop
|
expand
|
diff --git a/drivers/media/platform/xilinx/xilinx-tpg.c b/drivers/media/platform/xilinx/xilinx-tpg.c index 80353ca44402..53c4e1ddf867 100644 --- a/drivers/media/platform/xilinx/xilinx-tpg.c +++ b/drivers/media/platform/xilinx/xilinx-tpg.c @@ -13,6 +13,7 @@ #include <linux/gpio/consumer.h> #include <linux/module.h> #include <linux/of.h> +#include <linux/of_graph.h> #include <linux/platform_device.h> #include <linux/xilinx-v4l2-controls.h> @@ -745,7 +746,7 @@ static int xtpg_parse_of(struct xtpg_device *xtpg) } if (nports == 0) { - endpoint = of_get_next_child(port, NULL); + endpoint = of_graph_get_next_endpoint(port, NULL); if (endpoint) has_endpoint = true; of_node_put(endpoint);
We can now use of_graph_get_next_endpoint(), let's use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- drivers/media/platform/xilinx/xilinx-tpg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)