Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9a78d149 authored by Xu Kai's avatar Xu Kai Committed by Gerrit - the friendly Code Review server
Browse files

leds: leds-qpnp: avoid calling pwm_disable when scaling leds' brightness



The LPG hardware supports dynamically changing the duty cycle
without disabling the output. So pwm_disable calling can be
removed when setting nonzero brightness level, which avoid the
delays of the PWM wave output when changing PWM configuration.

CRs-Fixed: 622683
Change-Id: I8c5bdef1992c41f73fe16cce615b2d1d6dad7775
Signed-off-by: default avatarXu Kai <kaixu@codeaurora.org>
parent f58d0d1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment