summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/qcom-wled.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-01-27 00:32:00 +0300
committerLee Jones <lee.jones@linaro.org>2021-02-09 17:09:21 +0300
commit57e0d7b7f8663d0a3a5facc83c445ffc9802ad65 (patch)
tree37ede321cad8c626960dacfee1c0598923c4dcf2 /drivers/video/backlight/qcom-wled.c
parent4a98e5ef88f8a7a9fd42e71b018d3070662f8a2a (diff)
downloadlinux-57e0d7b7f8663d0a3a5facc83c445ffc9802ad65.tar.xz
backlight: ktd253: Bring up in a known state
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@linaro.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight/qcom-wled.c')
0 files changed, 0 insertions, 0 deletions