]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fbdev: vt8500lcdfb: fix missing dma_free_coherent()
authorThomas Fourier <fourier.thomas@gmail.com>
Mon, 12 Jan 2026 14:00:27 +0000 (15:00 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 14 Feb 2026 10:09:46 +0000 (11:09 +0100)
commit88b3b9924337336a31cefbe99a22ed09401be74a
treef5e5fcc058199f3ce3f2c2d350c68c6a740be5a0
parent994fcd4b107d747bee88888a849dcdd00cf739ba
fbdev: vt8500lcdfb: fix missing dma_free_coherent()

fbi->fb.screen_buffer is allocated with dma_alloc_coherent() but is not
freed if the error path is reached.

Fixes: e7b995371fe1 ("video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb")
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/vt8500lcdfb.c