kernel_samsung_a53x/drivers/video
Zhen Lei 11e1cc09bc fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
[ Upstream commit f89d17ae2ac42931be2a0153fecbf8533280c927 ]

When information such as info->screen_base is not ready, calling
sh7760fb_free_mem() does not release memory correctly. Call
dma_free_coherent() instead.

Fixes: 4a25e41831ee ("video: sh7760fb: SH7760/SH7763 LCDC framebuffer driver")
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:09 +01:00
..
backlight backlight: lp8788: Fully initialize backlight_properties during probe 2024-11-19 08:44:56 +01:00
console Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fbdev fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem() 2024-12-17 13:24:09 +01:00
logo Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
display_timing.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdmi.c 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
of_display_timing.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_videomode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vgastate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
videomode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00