diff options
| author | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-01-07 10:56:28 +0100 |
|---|---|---|
| committer | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-01-29 18:44:03 +0100 |
| commit | 4eda1d5fe99db2a71da0156387b7b69e8e0dc32f (patch) | |
| tree | db0d4d6c2e0594cd3bf47ef85b6edd4ec0d5b129 /Documentation/logo.gif | |
| parent | 42bb487369e56f8f07c82ac11fe771ba2b70cd68 (diff) | |
drm/bridge: imx8qxp-pixel-link: imx8qxp_pixel_link_find_next_bridge: return int, not ERR_PTRHEADdrm-misc-next
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
value.
No functional changes.
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Acked-by: Liu Ying <victor.liu@nxp.com>
Link: https://patch.msgid.link/20260107-drm-bridge-alloc-getput-drm_of_find_bridge-v4-3-a62b4399a6bf@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'Documentation/logo.gif')
0 files changed, 0 insertions, 0 deletions
