alarmtimer: Make sure we initialize the rtctimer
authorJohn Stultz <john.stultz@linaro.org>
Fri, 23 Mar 2012 22:52:25 +0000 (15:52 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 23 Mar 2012 23:23:12 +0000 (16:23 -0700)
commitad30dfa94c5cc23931c822922a50bd163ab293a5
tree574daa8c88b38161fe6139ba2b3fcda42538f32d
parent6b43ae8a619d17c4935c3320d2ef9e92bdeed05d
alarmtimer: Make sure we initialize the rtctimer

jonghwan Choi reported seeing warnings with the alarmtimer
code at suspend/resume time, and pointed out that the
rtctimer isn't being properly initialized.

This patch corrects this issue.

Reported-by: jonghwan Choi <jhbird.choi@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/time/alarmtimer.c