Skip to content
Commit 91fe1bda authored by Dylan Van Assche's avatar Dylan Van Assche Committed by Lee Jones
Browse files

leds: flash: leds-qcom-flash: Disable LED when changing brightness



The Qualcomm PMI8998 PMIC requires the LED to be disabled when configuring
the brightness. Always disable the LED when setting the brightness and
re-enable it afterwards.

Signed-off-by: default avatarDylan Van Assche <me@dylanvanassche.be>
Link: https://lore.kernel.org/r/20230507172941.364852-3-me@dylanvanassche.be


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 0ae8dc1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment