Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pwm: tiecap: Ensure configuring period and duty_cycle isn't wrongly s…
…kipped As the last call to ecap_pwm_apply() might have exited early if state->enabled was false, the values for period and duty_cycle stored in pwm->state might not have been written to hardware and it must be ensured that they are configured before enabling the PWM. Fixes: 0ca7acd ("pwm: tiecap: Implement .apply() callback") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
- Loading branch information