OSDN Git Service

clocksource: atmel-st: get and use slow clock
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 16 Aug 2015 09:23:44 +0000 (11:23 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 6 Oct 2015 10:25:11 +0000 (12:25 +0200)
commit216ab8f155fba659e06df240862cf59acb8b7be5
tree96de6aef0c2f144f8719054c177656b685e1241f
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
clocksource: atmel-st: get and use slow clock

The current slow clock rate is hardcoded. Properly get the slow clock
and use its rate.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-atmel-st.c