linux/drivers/video/fbdev/omap
Chen Ni d3da7f00e2 fbdev: omapfb: Add missing error check for clk_get()
The hwa742_init() function did not check the return value of clk_get().
This could lead to dereferencing an error pointer in subsequent clock
operations, potentially causing a kernel crash.

Fix this by adding a missing error check and ensuring proper clock
resource cleanup on failure and driver removal.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
2026-03-10 18:40:21 +01:00
..
hwa742.c fbdev: omapfb: Add missing error check for clk_get() 2026-03-10 18:40:21 +01:00
Kconfig fbdev/omapfb: Use fbdev I/O helpers 2023-08-04 15:54:37 +02:00
lcd_ams_delta.c fbdev: omap: Use lcd power constants 2024-09-30 16:49:42 +01:00
lcd_dma.c fbdev/omap: Include <linux/export.h> 2025-06-16 09:07:12 +02:00
lcd_dma.h ARM: omap1: move lcd_dma code into omapfb driver 2022-04-21 15:00:45 +02:00
lcd_mipid.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
lcd_palmte.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
lcdc.c fbdev/omap: Include <linux/export.h> 2025-06-16 09:07:12 +02:00
lcdc.h ARM: omap1: move lcd_dma code into omapfb driver 2022-04-21 15:00:45 +02:00
Makefile fbdev: omapfb: remove omap1 osk driver 2023-03-14 18:49:47 +01:00
omapfb_main.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
omapfb.h video: fbdev: omapfb: Unexport omap*_update_window_async() 2022-07-18 07:56:40 +02:00
sossi.c video: fbdev: omap: Remove duplicate 'the' in comment 2022-06-22 16:55:51 +02:00