linux-stable/drivers/video/backlight
Daniel Thompson bda57d3103 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:17:19 -04:00
..
88pm860x_bl.c
Kconfig - New Drivers 2024-01-18 16:53:35 -08:00
Makefile - New Drivers 2024-01-18 16:53:35 -08:00
aat2870_bl.c
adp5520_bl.c
adp8860_bl.c backlight: Switch i2c drivers back to use .probe() 2023-05-25 12:25:26 +01:00
adp8870_bl.c backlight: Switch i2c drivers back to use .probe() 2023-05-25 12:25:26 +01:00
ams369fg06.c
apple_bl.c
arcxcnn_bl.c backlight: Switch i2c drivers back to use .probe() 2023-05-25 12:25:26 +01:00
as3711_bl.c
backlight.c fbdev: Split frame buffer support in FB and FB_CORE symbols 2023-07-22 12:25:04 +02:00
bd6107.c drm-misc-next for v6.6: 2023-07-17 15:37:57 +02:00
corgi_lcd.c
da903x_bl.c
da9052_bl.c backlight: da9052: Fully initialize backlight_properties during probe 2024-03-26 18:17:18 -04:00
ep93xx_bl.c
gpio_backlight.c - New Functionality 2023-09-06 09:00:37 -07:00
hp680_bl.c
hx8357.c backlight: hx8357: Fix potential NULL pointer dereference 2024-03-26 18:17:18 -04:00
ili922x.c backlight: ili922x: Add an error code check in ili922x_write() 2023-12-07 15:54:55 +00:00
ili9320.c
ili9320.h
ipaq_micro_bl.c
jornada720_bl.c
jornada720_lcd.c
kb3886_bl.c
ktd253-backlight.c
ktz8866.c backlight: ktz8866: Correct the check for of_property_read_u32 2024-03-26 18:17:18 -04:00
l4f00242t03.c
lcd.c
led_bl.c backlight: led_bl: Remove redundant of_match_ptr() 2023-08-21 12:16:56 +01:00
lm3533_bl.c
lm3630a_bl.c backlight: lm3630a: Don't set bl->props.brightness in get_brightness 2024-03-26 18:17:18 -04:00
lm3639_bl.c backlight: lm3639: Fully initialize backlight_properties during probe 2024-03-26 18:17:19 -04:00
lms283gf05.c
lms501kf03.c
locomolcd.c
lp855x_bl.c pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2023-12-20 16:07:04 +01:00
lp8788_bl.c backlight: lp8788: Fully initialize backlight_properties during probe 2024-03-26 18:17:19 -04:00
ltv350qv.c
ltv350qv.h
lv5207lp.c drm-misc-next for v6.6: 2023-07-17 15:37:57 +02:00
max8925_bl.c
mp3309c.c backlight: mp3309c: Fix uninitialized local variable 2023-12-01 11:24:21 +00:00
mt6370-backlight.c
omap1_bl.c
otm3225a.c
pandora_bl.c
pcf50633-backlight.c
platform_lcd.c
pwm_bl.c - New Drivers 2024-01-18 16:53:35 -08:00
qcom-wled.c backlight: qcom-wled: Explicitly include correct DT includes 2023-07-28 10:01:28 +01:00
rave-sp-backlight.c
rt4831-backlight.c
sky81452-backlight.c
tdo24m.c
tps65217_bl.c
vgg2432a4.c
wm831x_bl.c