commit | 7e14183469d8aa2c7aa7675a6156e7846dda7748 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Tue Jul 16 16:45:38 2013 +0200 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Thu Jul 18 15:27:21 2013 +0200 |
tree | 2ce43e7591f668178440cb36c89e41227e68d5ce | |
parent | a2c49e7b553a28f10ab34e5da538ed4a45a697a7 [diff] |
clocksource: sun4i: Fix bug when switching from periodic to oneshot modes The interval was firing at was set up at probe time, and only changed in the set_next_event, and never changed back, which is not really what is expected. When enabling the periodic mode, now set an interval to tick every jiffy. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>