]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: Fix an error handling path rockchip_dp_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 18 Jun 2022 17:08:05 +0000 (19:08 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 2 Jul 2022 11:03:12 +0000 (13:03 +0200)
commit107797b8b85571ec198af9ae96f0a4dcab227ba3
tree9dcb14bf4e4d856430622be63a7aedba323b8e74
parent163832cbb0a966151d2d231ce332d5977b1b4f55
drm/rockchip: Fix an error handling path rockchip_dp_probe()

Should component_add() fail, we should call analogix_dp_remove() in the
error handling path, as already done in the remove function.

Fixes: 52f8cb8e3123 ("drm/bridge: analogix_dp: Split bind() into probe() and real bind()")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/b719d9061bb97eb85145fbd3c5e63f4549f2e13e.1655572071.git.christophe.jaillet@wanadoo.fr
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c