linux/drivers/gpu/drm/exynos
Osama Abdelkader 26f6654a9a drm/exynos: remove bridge when 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: 576d72fbfb ("drm/exynos: mic: add a bridge at probe")
Cc: stable@vger.kernel.org
Reviewed-by: Raphaël Gallais-Pou <rgallaispou@gmail.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://patch.msgid.link/20260423200622.325076-2-osama.abdelkader@gmail.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2026-05-05 16:50:42 +02:00
..
exynos_dp.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
exynos_drm_crtc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
exynos_drm_crtc.h drm/exynos: remove unused prototype for crtc 2024-11-04 10:42:50 +09:00
exynos_drm_dma.c ARM: 9417/1: dma-mapping: Pass device to arm_iommu_create_mapping() 2024-09-04 15:02:07 +01:00
exynos_drm_dpi.c drm/exynos: dpi: Change connector type to DPI 2023-12-12 13:06:38 +09:00
exynos_drm_drv.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
exynos_drm_drv.h drm/exynos: vidi: use priv->vidi_dev for ctx lookup in vidi_connection_ioctl() 2026-02-01 23:27:56 +09:00
exynos_drm_dsi.c drm/exynos: dsi: add support for exynos7870 2025-09-15 20:19:23 +09:00
exynos_drm_fb.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
exynos_drm_fb.h drm/exynos: Pass along the format info from .fb_create() to drm_helper_mode_fill_fb_struct() 2025-07-16 20:07:55 +03:00
exynos_drm_fbdev.c drm/fb-helper: Allocate and release fb_info in single place 2025-11-25 11:02:43 +01:00
exynos_drm_fbdev.h drm/exynos-drm: Run DRM default client setup 2024-09-26 09:31:29 +02:00
exynos_drm_fimc.c drm/exynos: Fix spelling mistake "enqueu" -> "enqueue" 2025-04-23 23:07:28 +09:00
exynos_drm_fimd.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
exynos_drm_g2d.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
exynos_drm_g2d.h
exynos_drm_gem.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
exynos_drm_gem.h
exynos_drm_gsc.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
exynos_drm_ipp.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
exynos_drm_ipp.h
exynos_drm_mic.c drm/exynos: remove bridge when component_add fails 2026-05-05 16:50:42 +02:00
exynos_drm_plane.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
exynos_drm_plane.h
exynos_drm_rotator.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
exynos_drm_scaler.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
exynos_drm_vidi.c drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free 2026-02-01 23:28:01 +09:00
exynos_drm_vidi.h
exynos_hdmi.c Linux 6.19-rc7 2026-01-28 12:44:28 +10:00
exynos_mixer.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
exynos7_drm_decon.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
exynos5433_drm_decon.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
Kconfig drm/exynos-drm: Run DRM default client setup 2024-09-26 09:31:29 +02:00
Makefile
regs-decon7.h drm/exynos: exynos7_drm_decon: add driver data and support for Exynos7870 2024-11-04 10:50:46 +09:00
regs-decon5433.h
regs-fimc.h
regs-gsc.h
regs-hdmi.h
regs-mixer.h
regs-rotator.h
regs-scaler.h
regs-vp.h