kernel_samsung_a53x/drivers/video
Cai Xinchen ca00fa8d73 fbdev: savage: Handle err return when savagefb_check_var failed
commit 6ad959b6703e2c4c5d7af03b4cfd5ff608036339 upstream.

The commit 04e5eac8f3ab("fbdev: savage: Error out if pixclock equals zero")
checks the value of pixclock to avoid divide-by-zero error. However
the function savagefb_probe doesn't handle the error return of
savagefb_check_var. When pixclock is 0, it will cause divide-by-zero error.

Fixes: 04e5eac8f3ab ("fbdev: savage: Error out if pixclock equals zero")
Signed-off-by: Cai Xinchen <caixinchen1@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 12:27:18 +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: savage: Handle err return when savagefb_check_var failed 2024-11-19 12:27:18 +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