Hello. On 07/06/2015 02:11 PM, Viresh Kumar wrote:
Migrate cevt-4k 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.
We weren't doing anything in the ->set_mode() callback. So, this patch doesn't provide any set-state callbacks.
The code in __clockevents_switch_state() looks like it's going to oops as you're not implementing set_state_oneshot()...
WBR, Sergei