diff options
| author | 2026-04-23 22:06:19 +0200 | |
|---|---|---|
| committer | 2026-05-04 22:52:39 +0200 | |
| commit | 84ae1840260fece9b6b70d3872b79384bbe5a90b (patch) | |
| tree | 70e1854a39a4b8e0558164d10aa535c5006481ee /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | drm/bridge: tda998x: Return NULL instead of 0 in tda998x_edid_read() (diff) | |
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 <osama.abdelkader@gmail.com>
Fixes: d28726efc637 ("drm/sti: hda: add bridge before attaching")
Cc: stable@vger.kernel.org
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Acked-by: Raphaƫl Gallais-Pou <rgallaispou@gmail.com>
Link: https://patch.msgid.link/20260423200622.325076-1-osama.abdelkader@gmail.com
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
