]> 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)
commit883417303969101bdf8732a649ed3b081e0b2936
treeeca9a3b9ff38e26ac3436f813338190c3f54ccf5
parentbe90580f234641841023d7f5f1c5a3d253090886
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