Files
linux/drivers/gpu/drm/sti
Osama Abdelkader 84ae184026 drm/sti: remove bridge when sti_hda component_add fails
Use devm_drm_bridge_add() so the bridge is released if probe fails after
registration, and drop the manual drm_bridge_remove() in remove().

Check the return value of devm_drm_bridge_add().

Signed-off-by: Osama Abdelkader <[email protected]>
Fixes: d28726efc6 ("drm/sti: hda: add bridge before attaching")
Cc: [email protected]
Reviewed-by: Luca Ceresoli <[email protected]>
Acked-by: Raphaël Gallais-Pou <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Raphael Gallais-Pou <[email protected]>
2026-05-04 22:52:39 +02:00
..
…
…
…
…
…
…
…