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 backlight: aat2870_bl: Convert to platform remove callback returning void 2023-03-16 15:08:35 +00:00
adp5520_bl.c backlight: adp5520_bl: Convert to platform remove callback returning void 2023-03-16 15:08:35 +00:00
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 backlight: apple_bl: Use acpi_video_get_backlight_type() 2023-03-16 13:33:11 +01:00
arcxcnn_bl.c backlight: Switch i2c drivers back to use .probe() 2023-05-25 12:25:26 +01:00
as3711_bl.c backlight: as3711: Use of_property_read_bool() for boolean properties 2023-03-16 16:12:53 +00:00
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 backlight: hp680_bl: Convert to platform remove callback returning void 2023-03-16 15:08:35 +00:00
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 backlight: ipaq_micro: Use backlight helper 2023-02-22 10:55:27 +00:00
jornada720_bl.c
jornada720_lcd.c
kb3886_bl.c
ktd253-backlight.c backlight: ktd253: Switch to use dev_err_probe() helper 2023-02-22 10:54:59 +00:00
ktz8866.c backlight: ktz8866: Correct the check for of_property_read_u32 2024-03-26 18:17:18 -04:00
l4f00242t03.c
lcd.c driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
led_bl.c backlight: led_bl: Remove redundant of_match_ptr() 2023-08-21 12:16:56 +01:00
lm3533_bl.c backlight: lm3533_bl: Convert to platform remove callback returning void 2023-03-16 15:08:36 +00:00
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 ARM: pxa: remove unused board files 2023-01-20 11:23:44 +01:00
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 backlight: mt6370-backlight: Convert to platform remove callback returning void 2023-03-16 15:08:36 +00:00
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 backlight: rt4831-backlight: Convert to platform remove callback returning void 2023-03-16 15:08:37 +00:00
sky81452-backlight.c backlight: sky81452-backlight: Convert to platform remove callback returning void 2023-03-16 15:08:37 +00:00
tdo24m.c
tps65217_bl.c
vgg2432a4.c
wm831x_bl.c