ARM: fix footbridge clockevent device
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Dec 2013 12:39:50 +0000 (12:39 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Dec 2013 12:41:20 +0000 (12:41 +0000)
commit4ff859fe1dc0da0f87bbdfff78f527898878fa4a
tree0dd6627eafe43281cfa453386a2e9543d0299567
parentb713aa0b15015a65ad5421543b80df86de043d62
ARM: fix footbridge clockevent device

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>
Cc: <stable@vger.kernel.org>
arch/arm/mach-footbridge/dc21285-timer.c