commit | 4c027f7ba8520df088d34ae045205a6f8e2a1d76 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Mon May 25 15:19:55 2015 +0200 |
committer | Thierry Reding <thierry.reding@gmail.com> | Fri Jun 12 11:12:20 2015 +0200 |
tree | 2858c9721a8a1419c19aa24dfd74965cbc9732ff | |
parent | cccb94543c8299e0bc7564cc6f8b26e0f15bafde [diff] |
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>