linux/drivers/gpu/drm/bridge/adv7511
Luca Ceresoli f08eff4ad2 drm/bridge: adv7511: switch to of_drm_get_bridge_by_endpoint()
This driver calls drm_of_find_panel_or_bridge() with a NULL pointer in the
@panel parameter, thus using a reduced feature set of that function.
Replace this call with the simpler of_drm_get_bridge_by_endpoint().

Since of_drm_get_bridge_by_endpoint() increases the refcount of the
returned bridge, ensure it is put on removal. To achieve this, instead of
adding an explicit drm_bridge_put(), migrate to the bridge::next_bridge
pointer which is automatically put when the bridge is eventually freed.

Tested-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://patch.msgid.link/20260511-drm-bridge-alloc-getput-panel_or_bridge-v6-8-f61c9e498b3f@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2026-05-19 10:57:26 +02:00
..
adv7511_audio.c drm/bridge: write full Audio InfoFrame 2025-09-09 17:34:39 +03:00
adv7511_cec.c drm/bridge: Make dp/hdmi_audio_* callback keep the same paramter order with get_modes 2025-07-14 18:23:18 +03:00
adv7511_drv.c drm/bridge: adv7511: switch to of_drm_get_bridge_by_endpoint() 2026-05-19 10:57:26 +02:00
adv7511.h drm/bridge: adv7511: switch to of_drm_get_bridge_by_endpoint() 2026-05-19 10:57:26 +02:00
adv7533.c drm/bridge: adv7511: Rename adv7511_dsi_config_timing_gen() into adv7533_dsi_config_timing_gen() 2025-05-28 16:48:04 +03:00
Kconfig drm/bridge: adv7511: switch to the HDMI connector helpers 2025-05-21 01:35:34 +03:00
Makefile drm: bridge: adv7511: Remove DRM_I2C_ADV7533 Kconfig 2020-02-10 10:23:44 +01:00