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, 14 Jun 2011 16:09:45 +0000 (09:09 -0700)
commit2cd24680f6fa2c06feede9d2f69566de378f4519
tree43009ce92ff0900185c5a2a02b1b0d10c5a83cf4
parent677ef29f71cba2017015c5a804e931314dc71df6
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