[PATCH v3 21/22] drm/bridge: imx8qxp-pixel-link: imx8qxp_pixel_link_find_next_bridge: return int, not ERR_PTR
Maxime Ripard
mripard at kernel.org
Wed Dec 17 02:25:04 PST 2025
On Tue, 16 Dec 2025 18:58:54 +0100, Luca Ceresoli wrote:
> In preparation for using bridge->next_bridge, we need to ensure that it
> will never contain anything but NULL or a valid bridge pointer. Current
> code stores an ERR_PTR when imx8qxp_pixel_link_find_next_bridge() errors
> out. Instead of fixing that after the facts in the caller, change the
> function to internally set pl->next_bridge and just return an int error
>
> [ ... ]
Reviewed-by: Maxime Ripard <mripard at kernel.org>
Thanks!
Maxime
More information about the linux-arm-kernel
mailing list