diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-07-01 11:27:55 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-07-08 17:09:30 +0300 |
commit | f4a8e31ed84ec646c158824f423cb22d1f362bbf (patch) | |
tree | 4685109238d026de25002d42db84791a1feef8f1 /scripts/gdb/linux/utils.py | |
parent | 7d6d4aaf2809f209c7d6bcab2f9ae76797051cfa (diff) | |
download | linux-f4a8e31ed84ec646c158824f423cb22d1f362bbf.tar.xz |
pwm: ep93xx: Ensure configuring period and duty_cycle isn't wrongly skipped
As the last call to ep93xx_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: 6d45374af539 ("pwm: ep93xx: Implement .apply callback")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions