| commit | cce483e0ee70c2c9c6ff08e502b6f0bba3e15f62 | [log] [tgz] |
|---|---|---|
| author | Daniel Lezcano <daniel.lezcano@linaro.org> | Sun Nov 08 23:24:28 2015 +0100 |
| committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Dec 15 09:42:20 2015 +0100 |
| tree | 48e85cacbc4bea214cf2fb817793a8d176e4cb96 | |
| parent | 254d8b5d59516d670111e0ac14d53fed4d61118d [diff] |
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>