Home
last modified time | relevance | path

Searched hist:"28 a2568eb11536398bcde4675626dde99c73c2fe" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/video/backlight/
H A Dlm3630a_bl.cdiff 28a2568eb11536398bcde4675626dde99c73c2fe Mon Feb 19 17:11:19 CST 2024 Luca Weiss <luca@z3ntu.xyz> 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>