]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita235a2def8b346d2f5c47b9156f6a0f64e588dfc
treeeca9a3b9ff38e26ac3436f813338190c3f54ccf5
parent45881fdf0c512ac299271222f6f8de7eb4f9e2f7
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