linux-stable/drivers/video
Daniel Thompson 26343bc160 backlight: lp8788: Fully initialize backlight_properties during probe
[ Upstream commit 392346827f ]

props is stack allocated and the fields that are not explcitly set
by the probe function need to be zeroed or we'll get undefined behaviour
(especially so power/blank states)!

Fixes: c5a51053cf ("backlight: add new lp8788 backlight driver")
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240220153532.76613-4-daniel.thompson@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:19:56 -04:00
..
backlight backlight: lp8788: Fully initialize backlight_properties during probe 2024-03-26 18:19:56 -04:00
console drm: fix up fbdev Kconfig defaults 2023-09-18 10:52:55 +02:00
fbdev fbcon: always restore the old font data in fbcon_do_set_font() 2024-03-06 14:48:38 +00:00
logo video: logo: LOGO should depend on FB_CORE i.s.o. FB 2023-07-28 11:48:30 +02:00
aperture.c
cmdline.c
display_timing.c
hdmi.c
Kconfig video: logo: LOGO should depend on FB_CORE i.s.o. FB 2023-07-28 11:48:30 +02:00
Makefile
nomodeset.c
of_display_timing.c
of_videomode.c
sticore.c sticon/parisc: Fix STI console on 64-bit only machines 2023-06-30 17:14:14 +02:00
vgastate.c
videomode.c