summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/core.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-05-25 15:19:55 +0200
committerThierry Reding <thierry.reding@gmail.com>2015-06-12 11:12:20 +0200
commit4c027f7ba8520df088d34ae045205a6f8e2a1d76 (patch)
tree2858c9721a8a1419c19aa24dfd74965cbc9732ff /drivers/pwm/core.c
parentcccb94543c8299e0bc7564cc6f8b26e0f15bafde (diff)
downloadlinux-4c027f7ba8520df088d34ae045205a6f8e2a1d76.tar.bz2
pwm: atmel: Fix incorrect CDTY value after enabling
CUPD is not flushed before enabling the channel so it will update CDTY/CPRD just after one period. So we always set CUPD, even when the channel is not enabled. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/core.c')
0 files changed, 0 insertions, 0 deletions