Re: [PATCH] drm/stm: Fix an error handling path in stm_drm_platform_probe()

2024-01-10 Thread Raphael Gallais-Pou
Hi Christophe, On 1/6/24 17:54, Christophe JAILLET wrote: > If drm_dev_register() fails, a call to drv_load() must be undone, as > already done in the remove function. > > Fixes: b759012c5fa7 ("drm/stm: Add STM32 LTDC driver") > Signed-off-by: Christophe JAILLET > --- > This was already sent a

[PATCH] drm/stm: Fix an error handling path in stm_drm_platform_probe()

2024-01-06 Thread Christophe JAILLET
If drm_dev_register() fails, a call to drv_load() must be undone, as already done in the remove function. Fixes: b759012c5fa7 ("drm/stm: Add STM32 LTDC driver") Signed-off-by: Christophe JAILLET --- This was already sent a few years ago in [1] but it got no response. Since, there has been some

[PATCH] drm/stm: Fix an error handling path in 'stm_drm_platform_probe()'

2020-05-02 Thread Christophe JAILLET
If 'drm_dev_register()' fails, a call to 'drv_load()' must be undone, as already done in the remove function. Fixes: b759012c5fa7 ("drm/stm: Add STM32 LTDC driver") Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/stm/drv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff