summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-imx-gpt.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-11-08 23:24:28 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:42:20 +0100
commitcce483e0ee70c2c9c6ff08e502b6f0bba3e15f62 (patch)
tree48e85cacbc4bea214cf2fb817793a8d176e4cb96 /drivers/clocksource/timer-imx-gpt.c
parent254d8b5d59516d670111e0ac14d53fed4d61118d (diff)
downloadlinux-cce483e0ee70c2c9c6ff08e502b6f0bba3e15f62.tar.gz
linux-cce483e0ee70c2c9c6ff08e502b6f0bba3e15f62.tar.xz
clocksource/drivers/h8300_timer8: Retrieve the clock rate at init time
The current code retrieves the rate value when the timer is enabled which occurs each time a timer is re-armed. Except if the clock frequency has changed magically I don't see why this should be done each time. Retrieve the clock rate value at init time only. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/timer-imx-gpt.c')
0 files changed, 0 insertions, 0 deletions