clockevents: Update clockevents device next_event
Usually clockevent device's next_event is updated in
clockevents_program_event() and next_event indicates
the next timer event on that cpu. Whenever there are
no timers on a CPU, corresponding clockevent device
is going into ONESHOT_STOPPED state but clockevent
device next_event is not updated, because
clockevents_program_event() not called.
As next_event is not updated properly, resulting in spurious
wakeups, so update the clockevent device next_event
with proper value(KTIME_MAX) to avoid spurious wakeups.
Change-Id: I942e884583097c52da52a80bee31d4823173d520
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Loading
Please register or sign in to comment