]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:13 +0000 (11:40 -0700)
commit8a19c4e575cae9c1038305b488430eca4642fa22
treeee147d94e8b0547c270682e919e6c00ea08f69fe
parenta677ecd3c42c0324df53ef8e811907af2c17c218
ARM: 7081/1: mach-integrator: fix the clocksource

commit bb9ea77846620ed2b37e74c852d72c7a476b248c upstream.

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.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mach-integrator/integrator_ap.c