kernel_samsung_a53x/drivers/gpu/drm/rockchip
Christophe JAILLET 1e577f8b31 drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
[ Upstream commit 44b968d0d0868b7a9b7a5c64464ada464ff4d532 ]

cdn_dp_audio_codec_init() can fail. So add some error handling.

If component_add() fails, the previous cdn_dp_audio_codec_init() call
should be undone, as already done in the remove function.

Fixes: 88582f564692 ("drm/rockchip: cdn-dp: Don't unregister audio dev when unbinding")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/8494a41602fadb7439630921a9779640698f2f9f.1693676045.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:42:55 +01:00
..
analogix_dp-rockchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdn-dp-core.c drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe() 2024-11-18 11:42:55 +01:00
cdn-dp-core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdn-dp-reg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdn-dp-reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dw-mipi-dsi-rockchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dw_hdmi-rockchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inno_hdmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inno_hdmi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rk3066_hdmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rk3066_hdmi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_drm_drv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_drm_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_drm_fb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_drm_fb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_drm_fbdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_drm_fbdev.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_drm_gem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_drm_gem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_drm_vop.c drm/rockchip: vop: Fix call to crtc reset helper 2024-11-18 11:42:55 +01:00
rockchip_drm_vop.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_lvds.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_lvds.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_rgb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_rgb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_vop_reg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip_vop_reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00