commit | 87e3560f6d00b1be8fc20126e5b937d2f9380b22 | [log] [tgz] |
---|---|---|
author | Xu Kai <kaixu@codeaurora.org> | Thu Mar 06 11:13:39 2014 +0800 |
committer | Xu Kai <kaixu@codeaurora.org> | Tue Mar 11 17:32:38 2014 +0800 |
tree | c6ff7f4840369062b37fa25fa14d3744c6704355 | |
parent | 9d395ce8679d5c6adae7abc957af0ed8596c8e16 [diff] |
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: Xu Kai <kaixu@codeaurora.org>