aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-pxa.c
diff options
context:
space:
mode:
authorBoris BREZILLON <b.brezillon@overkiz.com>2013-09-18 17:06:21 +0200
committerThierry Reding <thierry.reding@gmail.com>2013-09-19 14:04:32 +0200
commitceb12f939809b3445d0b2118d4b07638bb07afa6 (patch)
treef21a7f36ae193f0ca7d02b88bf29de39c4b1edb7 /drivers/pwm/pwm-pxa.c
parentpwm: atmel-tcb: add missing clk source config (diff)
downloadlinux-dev-ceb12f939809b3445d0b2118d4b07638bb07afa6.tar.xz
linux-dev-ceb12f939809b3445d0b2118d4b07638bb07afa6.zip
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>
Diffstat (limited to 'drivers/pwm/pwm-pxa.c')
0 files changed, 0 insertions, 0 deletions