diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-06-30 12:00:48 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-08-10 12:40:25 +0300 |
commit | 3465f60917f2dbbc227e2a2e7913ad75bb604c12 (patch) | |
tree | 40407a43feb5b8dfc227184061d2b616740ba226 /drivers/clocksource/cadence_ttc_timer.c | |
parent | 0fae62eafec3c033d49160344228a4fa7d6303bc (diff) | |
download | linux-3465f60917f2dbbc227e2a2e7913ad75bb604c12.tar.xz |
clockevents/drivers/asm9260: Migrate to new 'set-state' interface
Migrate asm9260 driver to the new 'set-state' interface provided by
clockevents core, the earlier 'set-mode' interface is marked obsolete
now.
As a default the timer was stopped when entering in the set_mode(RESUME)
function, now this is done explicitly with the new API.
This also enables us to implement callbacks for new states of clockevent
devices, for example: ONESHOT_STOPPED.
Cc: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
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