ARM: u300: fix timekeeping when periodic mode is used
commit6a79799d5654bb7800614e8b7a009252be7ff90e
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 5 Nov 2013 09:03:19 +0000 (5 10:03 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Nov 2013 20:00:21 +0000 (26 21:00 +0100)
treedf74f5979cc6de74c6bf2d441505a7e6a23845e7
parent8ddd0f6fa6b542270517affb7d6657061c615ba9
ARM: u300: fix timekeeping when periodic mode is used

To determine the value to write to the hardware's timer counter register
the symbol CLOCK_TICK_RATE is used. This value is a dummy value on u300
though. So instead use the clock rate that is used for oneshot mode.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-u300/timer.c