rtc: alarm: Update hrtimer if alarm at the head of the queue is reprogrammed
authorArve Hjønnevåg <arve@android.com>
Sat, 8 Jan 2011 03:00:01 +0000 (19:00 -0800)
committerColin Cross <ccross@android.com>
Tue, 11 Jan 2011 00:16:39 +0000 (16:16 -0800)
commit5947e496b6dea68354785458a3bb07b5ca78ae85
treea07633dd841c4b25178db07d73e4b932078b46c5
parent77fc4228f72d803cace13cfec6a4076b38601bd5
rtc: alarm: Update hrtimer if alarm at the head of the queue is reprogrammed

If an alarm was restarted with a value that moved it away from the head
of a queue, the hrtimer would not be updated. This would cause unnecessary
wakeups.

Change-Id: If379f8dd92b0bdb3173bd8d057adfe0dc1d15259
Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/rtc/alarm.c