Re: [PATCH v3 1/3] drm/sti: remove bridge when sti_hda component_add fails
From: Raphaël Gallais-Pou
Date: Wed Apr 29 2026 - 09:49:26 EST
On 4/23/26 22:06, Osama Abdelkader wrote:
Use devm_drm_bridge_add() so the bridge is released if probe fails afterHi Osama,
registration, and drop the manual drm_bridge_remove() in remove().
Check the return value of devm_drm_bridge_add().
Signed-off-by: Osama Abdelkader <osama.abdelkader@xxxxxxxxx>
Fixes: d28726efc637 ("drm/sti: hda: add bridge before attaching")
Cc: stable@xxxxxxxxxxxxxxx
---
Acked-by: Raphaël Gallais-Pou <rgallaispou@xxxxxxxxx>
Thanks,
Best regards,
Raphaël