commit | ceb12f939809b3445d0b2118d4b07638bb07afa6 | [log] [tgz] |
---|---|---|
author | Boris BREZILLON <b.brezillon@overkiz.com> | Wed Sep 18 17:06:21 2013 +0200 |
committer | Thierry Reding <thierry.reding@gmail.com> | Thu Sep 19 14:04:32 2013 +0200 |
tree | f21a7f36ae193f0ca7d02b88bf29de39c4b1edb7 | |
parent | f3a82170aef72bf57f03e5c154fc94fad54968b1 [diff] |
pwm: atmel-tcb: fix max time computation for slow clk source Use the the tcb counter width to compute the maximum time that can be represented using the slow clock source instead of the static 16 bit width. Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>