From: Amin GATTOUT <amin.gattout@gmail.com>
To: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>,
Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Luca Ceresoli <luca.ceresoli@bootlin.com>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>,
Simona Vetter <simona@ffwll.ch>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>
Cc: dri-devel@lists.freedesktop.org,
linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
Amin GATTOUT <amin.gattout@gmail.com>
Subject: [PATCH] drm/rcar-du: Convert to of_drm_find_and_get_bridge()
Date: Thu, 26 Mar 2026 21:10:15 +0100 [thread overview]
Message-ID: <20260326-bridge-v1-1-c0c44b53f7b6@gmail.com> (raw)
of_drm_find_bridge() is deprecated.
Replace it with of_drm_find_and_get_bridge() which increments
the bridge refcount as required.
Signed-off-by: Amin GATTOUT <amin.gattout@gmail.com>
---
drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c b/drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c
index 7ecec7b04a8d..42253c1251b5 100644
--- a/drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c
+++ b/drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c
@@ -72,7 +72,7 @@ int rcar_du_encoder_init(struct rcar_du_device *rcdu,
if (IS_ERR(bridge))
return PTR_ERR(bridge);
} else {
- bridge = of_drm_find_bridge(enc_node);
+ bridge = of_drm_find_and_get_bridge(enc_node);
if (!bridge)
return -EPROBE_DEFER;
---
base-commit: d813f421930c5b01b9f61043932de02602dd6ae3
change-id: 20260326-bridge-43ecbef9d39f
Best regards,
--
Amin GATTOUT <amin.gattout@gmail.com>
next reply other threads:[~2026-03-26 20:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-26 20:10 Amin GATTOUT [this message]
2026-03-26 20:24 ` [PATCH] drm/rcar-du: Convert to of_drm_find_and_get_bridge() Laurent Pinchart
2026-03-27 7:57 ` Luca Ceresoli
2026-03-27 8:34 ` Laurent Pinchart
2026-03-27 8:54 ` Amin
2026-03-27 9:04 ` Laurent Pinchart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260326-bridge-v1-1-c0c44b53f7b6@gmail.com \
--to=amin.gattout@gmail.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert+renesas@glider.be \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=luca.ceresoli@bootlin.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=magnus.damm@gmail.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tomi.valkeinen+renesas@ideasonboard.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox