diff options
author | Dylan Van Assche <me@dylanvanassche.be> | 2023-05-07 20:29:41 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-05-25 14:16:20 +0300 |
commit | 91fe1bda4672c31aa93d018176e6cf62c6ccb657 (patch) | |
tree | 628d25278a4bb8e430cbec74a99c112f19b811fd /drivers/leds/leds-pca963x.c | |
parent | 0ae8dc1a1a998c7b6b866cb83de83bea5740fb8e (diff) | |
download | linux-91fe1bda4672c31aa93d018176e6cf62c6ccb657.tar.xz |
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: Dylan Van Assche <me@dylanvanassche.be>
Link: https://lore.kernel.org/r/20230507172941.364852-3-me@dylanvanassche.be
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/leds-pca963x.c')
0 files changed, 0 insertions, 0 deletions