ARM: 7081/1: mach-integrator: fix the clocksource
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 6 Sep 2011 07:08:13 +0000 (08:08 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 6 Sep 2011 23:47:26 +0000 (00:47 +0100)
commitbb9ea77846620ed2b37e74c852d72c7a476b248c
treeeca9a3b9ff38e26ac3436f813338190c3f54ccf5
parent1df726ef0a700587a712a3660b2caa8e533c7de9
ARM: 7081/1: mach-integrator: fix the clocksource

I was intrigued by the fact that the clock stood still on
the Integrator, but it wasn't strange at all, because the
timer was set up all wrong and probably has been for a
while. With this patch the clock starts ticking again:
make the timer periodic (reload), |= on the divisor bit
and load the timer before starting it.

Cc: stable@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-integrator/integrator_ap.c
This page took 0.030093 seconds and 5 git commands to generate.