]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: sirf: Remove hard-coded clock rate
authorYanchang Li <yl22@csr.com>
Tue, 11 Nov 2014 12:42:52 +0000 (20:42 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 19 Nov 2014 10:19:20 +0000 (11:19 +0100)
commit03f71a6c10acd2be8925c3e2ae004d215d79609a
tree3854ceb317c69a6e7583b029aeb0a5b72e01c039
parenta8e01a7731197a77713349a1ed51a59954916aa0
clocksource: sirf: Remove hard-coded clock rate

The customers may want to adjust the whole PLL and dividers according to
different user scenerios, and this causes the parent clock of sirf clocksource
not be divided exactly by the current hard-coded 1MHz clock rate.
This patch removes the hard-coded rate and makes the clocksource driver more
adaptive to the external changes.

Signed-off-by: Yanchang Li <yl22@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-marco.c