WSL2-Linux-Kernel/drivers/video/backlight
Daniel Thompson e4723c6b3e backlight: lp8788: Fully initialize backlight_properties during probe
[ Upstream commit 392346827fbe8a7fd573dfb145170d7949f639a6 ]

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:21:31 -04:00
..
88pm860x_bl.c
Kconfig
Makefile
aat2870_bl.c
adp5520_bl.c
adp8860_bl.c
adp8870_bl.c
ams369fg06.c
apple_bl.c
arcxcnn_bl.c
as3711_bl.c
backlight.c
bd6107.c
corgi_lcd.c
cr_bllcd.c
da903x_bl.c
da9052_bl.c backlight: da9052: Fully initialize backlight_properties during probe 2024-03-26 18:21:31 -04:00
ep93xx_bl.c
gpio_backlight.c backlight: gpio_backlight: Drop output GPIO direction check for initial power state 2023-09-19 12:22:57 +02:00
hp680_bl.c
hx8357.c
ili922x.c
ili9320.c
ili9320.h
ipaq_micro_bl.c
jornada720_bl.c
jornada720_lcd.c
kb3886_bl.c
ktd253-backlight.c
l4f00242t03.c
lcd.c
led_bl.c
lm3533_bl.c
lm3630a_bl.c backlight: lm3630a: Don't set bl->props.brightness in get_brightness 2024-03-26 18:21:31 -04:00
lm3639_bl.c backlight: lm3639: Fully initialize backlight_properties during probe 2024-03-26 18:21:31 -04:00
lms283gf05.c
lms501kf03.c
locomolcd.c
lp855x_bl.c
lp8788_bl.c backlight: lp8788: Fully initialize backlight_properties during probe 2024-03-26 18:21:31 -04:00
ltv350qv.c
ltv350qv.h
lv5207lp.c backlight/lv5207lp: Compare against struct fb_info.device 2023-09-19 12:22:50 +02:00
max8925_bl.c
omap1_bl.c
otm3225a.c
pandora_bl.c
pcf50633-backlight.c
platform_lcd.c
pwm_bl.c
qcom-wled.c
rave-sp-backlight.c
rt4831-backlight.c
sky81452-backlight.c
tdo24m.c
tosa_bl.c
tosa_bl.h
tosa_lcd.c
tps65217_bl.c
vgg2432a4.c
wm831x_bl.c