Message ID | 871q9y6qhg.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2106.outbound.protection.outlook.com [40.107.114.106]) (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 72B4A3FB07; Wed, 31 Jan 2024 05:06:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.106 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706677619; cv=fail; b=nlyIDM0LhDyn1vBHQXf4jtvIRECWB+n3sz2UqfTzI+jz2AlgYBVDccmNHEHBGTs1kqDr2qO1+pLEo0haBuLD4k8vxmCsia74eFrZlpibreRK/6h5tuKjGIHzJxAct1uwgb/InjKLR2wtprxjzSOTvdOXj5hIJp75yw+BkjRRRmk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706677619; c=relaxed/simple; bh=9xR5Mt41jo1VQSgSzm9qSQ2Y2mG+5r1ZOozGENDZANk=; h=Message-ID:From:To:Cc:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=MOCkVusk1HcRISJIaBCGSFX47JnrPcFf7odHVVepgStGnnHgww+GVFKVKZbUu0k5hy+cqHn9aFYmmwVN99J9yFez316B9V3rLqdt8QrbWTqUMh0ulcdSmzM4PDHyJx1aT/lcsR5Kk5YWKB5+BDGkOhIgf8W0ug3agI3ulV5zNNk= 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=o3RexiFH; arc=fail smtp.client-ip=40.107.114.106 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="o3RexiFH" 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> Cc: Alim Akhtar <alim.akhtar@samsung.com>, Fabio Estevam <festevam@gmail.com>, Jacopo Mondi <jacopo.mondi@ideasonboard.com>, Jernej Skrabec <jernej.skrabec@gmail.com>, Jerome Brunet <jbrunet@baylibre.com>, Jessica Zhang <quic_jesszhan@quicinc.com>, Jonas Karlman <jonas@kwiboo.se>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Leo Yan <leo.yan@linaro.org>, Marijn Suijten <marijn.suijten@somainline.org>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, Mike Leach <mike.leach@linaro.org>, Sam Ravnborg <sam@ravnborg.org>, Sean Paul <sean@poorly.run>, Tom Rix <trix@redhat.com>, coresight@lists.linaro.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-sound@vger.kernel.org, linux-staging@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, llvm@lists.linux.dev 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) 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_|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: 3RInqM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+bOhS0pQM3xTl2DX8q2JVwCvqu0nMDHUoyS27/cncGFuHGfTi4R/eHNJpCNGnomosQv1sSdgDv2/3YVY+yedC23V7NwEBBxLokoIn5sBXhx2vgJm5w/R5yDjQf3O+82eZleLq/Ppay7j8Efg8WF0rGc5aMxAUGfbwubgQOoZCv0WKaF0S6FupvG6l2mUaxwSUyjeGk+wo7SnyA+0yumfsCSkgUEYhp5zeW/WobS0vrpXOjGLI6Gd6QyHmi7QzQ1W6Yq+4Xgoh5VUdT/gx1Sbc9cE520irW2mDxvLhtCWoTN/GSXu4kn2iHbUrLk19qLCUt31RHkFcdsk+NEKPl3KF2lhg17hy3W54sLSBY9dkAqAUSit6dm/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 |
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(-)