diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-06-04 18:42:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-19 17:21:26 +0300 |
commit | 3b4c21804076e461a6453ee4d09872172336aa1d (patch) | |
tree | 1e53791b0b1f7b09630399af6786d63c01847c40 /arch/arm64/boot/dts | |
parent | 52b04ac85f5f4b485bf658101e464143225e68f9 (diff) | |
download | linux-3b4c21804076e461a6453ee4d09872172336aa1d.tar.xz |
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: 66d2f99d0bb5 ("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>
Diffstat (limited to 'arch/arm64/boot/dts')
0 files changed, 0 insertions, 0 deletions