diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2024-02-20 02:11:19 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2024-03-27 01:19:55 +0300 |
commit | 28a2568eb11536398bcde4675626dde99c73c2fe (patch) | |
tree | f9008c8a19819e7f39f7afadb762643a08e8e825 /drivers/video/backlight/ams369fg06.c | |
parent | f582a249103045b2fae8ebe2e7bcc1cab3c0b75a (diff) | |
download | linux-28a2568eb11536398bcde4675626dde99c73c2fe.tar.xz |
backlight: lm3630a: Initialize backlight_properties on init
[ Upstream commit ad9aeb0e3aa90ebdad5fabf9c21783740eb95907 ]
The backlight_properties struct should be initialized to zero before
using, otherwise there will be some random values in the struct.
Fixes: 0c2a665a648e ("backlight: add Backlight driver for lm3630 chip")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240220-lm3630a-fixups-v1-1-9ca62f7e4a33@z3ntu.xyz
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/video/backlight/ams369fg06.c')
0 files changed, 0 insertions, 0 deletions