summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/cadence_ttc_timer.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2013-07-16 16:45:38 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2013-07-18 15:27:21 +0200
commit7e14183469d8aa2c7aa7675a6156e7846dda7748 (patch)
tree2ce43e7591f668178440cb36c89e41227e68d5ce /drivers/clocksource/cadence_ttc_timer.c
parenta2c49e7b553a28f10ab34e5da538ed4a45a697a7 (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>
Diffstat (limited to 'drivers/clocksource/cadence_ttc_timer.c')
0 files changed, 0 insertions, 0 deletions