Thread (21 messages) 21 messages, 2 authors, 2026-01-31

Re: [PATCH v4 2/4] drm/bridge: imx8qxp-pixel-link: simplify freeing of the remote device_node

From: Liu Ying <victor.liu@nxp.com>
Date: 2026-01-26 08:08:20
Also in: dri-devel, imx, lkml


On Wed, Jan 07, 2026 at 10:56:27AM +0100, Luca Ceresoli wrote:
The main loop in imx8qxp_pixel_link_find_next_bridge() requires calling
of_node_put() in multiple places, complicating code flow. Simplify it by
using a cleanup action and making the 'remote' variable scope local to the
loop.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
 drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
Reviewed-by: Liu Ying <victor.liu@nxp.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help