diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-06-18 12:54:47 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-08-10 11:40:46 +0200 |
commit | f710bdeecffe9ce3ad8bdc358c6109d3848f6352 (patch) | |
tree | b724521b5a9e924845da89cc59d34b131bb5b37c /include | |
parent | clockevents/drivers/digicolor: Migrate to new 'set-state' interface (diff) | |
download | linux-f710bdeecffe9ce3ad8bdc358c6109d3848f6352.tar.xz linux-f710bdeecffe9ce3ad8bdc358c6109d3848f6352.zip |
clockevents/drivers/integrator: Migrate to new 'set-state' interface
Migrate integrator driver to the new 'set-state' interface provided by
clockevents core, the earlier 'set-mode' interface is marked obsolete
now.
This also enables us to implement callbacks for new states of clockevent
devices, for example: ONESHOT_STOPPED.
For oneshot mode the clkevt device was first getting disabled by
clearing TIMER_CTRL_ENABLE bits in TIMER_CTRL register, followed by
clearing TIMER_CTRL_PERIODIC bit. Both these are done with a single
write operation now.
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions