Revision f4a8e31ed84ec646c158824f423cb22d1f362bbf authored by Uwe Kleine-König on 01 July 2021, 08:27:55 UTC, committed by Thierry Reding on 08 July 2021, 14:09:30 UTC
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>
1 parent 7d6d4aa
History
File Mode Size
Kconfig -rw-r--r-- 75.9 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 14.9 KB
do_mounts.h -rw-r--r-- 908 bytes
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_rd.c -rw-r--r-- 7.7 KB
init_task.c -rw-r--r-- 6.2 KB
initramfs.c -rw-r--r-- 16.3 KB
main.c -rw-r--r-- 38.2 KB
noinitramfs.c -rw-r--r-- 813 bytes
version.c -rw-r--r-- 1.1 KB

back to top