Skip to content
Commit d4ebecec authored by Fenglin Wu's avatar Fenglin Wu
Browse files

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: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent 5ef08b98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment