android_kernel_xiaomi_sm8350/drivers/video/fbdev/omap
Christophe JAILLET 9e3858f82e fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe()
[ Upstream commit 79a3908d1ea6c35157a6d907b1a9d8ec06015e7a ]

If 'mipid_detect()' fails, we must free 'md' to avoid a memory leak.

Fixes: 66d2f99d0b ("omapfb: add support for MIPI-DCS compatible LCDs")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:37:15 +02:00
..
hwa742.c
Kconfig
lcd_ams_delta.c
lcd_h3.c
lcd_htcherald.c
lcd_inn1510.c
lcd_inn1610.c
lcd_mipid.c
lcd_osk.c
lcd_palmte.c
lcd_palmtt.c
lcd_palmz71.c
lcdc.c
lcdc.h
Makefile
omapfb_main.c
omapfb.h
sossi.c