linux/drivers/gpu/drm/stm
Christophe JAILLET 2948bb2951 drm/stm: Fix an error handling path in stm_drm_platform_probe()
[ Upstream commit ce7c90bfda ]

If drm_dev_register() fails, a call to drv_load() must be undone, as
already done in the remove function.

Fixes: b759012c5f ("drm/stm: Add STM32 LTDC driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20fff7f853f20a48a96db8ff186124470ec4d976.1704560028.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-10-17 15:10:51 +02:00
..
drv.c drm/stm: Fix an error handling path in stm_drm_platform_probe() 2024-10-17 15:10:51 +02:00
dw_mipi_dsi-stm.c drm/stm: dsi: compute the transition time from LP to HS and back 2021-07-19 15:35:55 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ltdc.c stm: ltdc: fix two incorrect NULL checks on list iterator 2022-06-09 10:23:28 +02:00
ltdc.h drm/stm: Convert to struct drm_crtc_helper_funcs.get_scanout_position() 2020-02-13 13:09:22 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00