commit | d4ebecec45e2bc5bc9d8c583809d5fbf79eca0dd | [log] [tgz] |
---|---|---|
author | Fenglin Wu <fenglinw@codeaurora.org> | Fri Dec 22 10:33:39 2017 +0800 |
committer | Fenglin Wu <fenglinw@codeaurora.org> | Sat Dec 23 13:44:31 2017 +0800 |
tree | adae68dca119a3404e26f48d794b9dc0a3ee5a4d | |
parent | 5ef08b98c377e0ce4b62533f07e49e9011327f6b [diff] |
leds: leds-qpnp: Always configure PWM period in qpnp_rgb_set Now that PWM framework requires the PWM period to be set prior to enable the PWM channel, always configure PWM period and duty in qpnp_rgb_set() function to make sure that pwm_enable() is successfully called. CRs-Fixed: 2161149 Change-Id: Ib9eb818861a8219b39d94f97af1b7b9f8168b446 Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>