ARM: fix footbridge clockevent device
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Dec 2013 12:39:50 +0000 (12:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2014 23:28:50 +0000 (15:28 -0800)
commit4adf2b4bd303e73dfc13c3428383a8dba129fdb5
treead4d71e3fa9165efc33f1296e9760aa53fbf3e3b
parent1e42fa04afb0dae65292683a5dcad85572ab7553
ARM: fix footbridge clockevent device

commit 4ff859fe1dc0da0f87bbdfff78f527898878fa4a upstream.

The clockevents code was being told that the footbridge clock event
device ticks at 16x the rate which it actually does.  This leads to
timekeeping problems since it allows the clocksource to wrap before
the kernel notices.  Fix this by using the correct clock.

Fixes: 4e8d76373c9fd ("ARM: footbridge: convert to clockevents/clocksource")
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-footbridge/dc21285-timer.c