[PATCH] backlight: ktd253: Bring up in a known state
Lee Jones
lee.jones at linaro.org
Tue Feb 9 14:10:19 UTC 2021
On Tue, 26 Jan 2021, Linus Walleij wrote:
> The KTD253 backlight might already be on when the driver
> is probed: then we don't really know what the current
> ratio is and all light intensity settings will be off
> relative to what it was at boot.
>
> To fix this, bring up the backlight OFF then move it to
> the default backlight from there so we know the state.
>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> drivers/video/backlight/ktd253-backlight.c | 12 +++---------
> 1 file changed, 3 insertions(+), 9 deletions(-)
Grudgingly applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
More information about the dri-devel
mailing list