Rabin Vincent
c0afabd3d5
rtc: Disable the alarm in the hardware
...
Currently, the RTC code does not disable the alarm in the hardware.
This means that after a sequence such as the one below (the files are in the
RTC sysfs), the box will boot up after 2 minutes even though we've
asked for the alarm to be turned off.
# echo $((`cat since_epoch`)+120) > wakealarm
# echo 0 > wakealarm
# poweroff
Fix this by disabling the alarm when there are no timers to run.
Cc: stable@kernel.org
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2011-11-22 19:25:43 -08:00
..
2011-06-21 16:55:39 -07:00
2011-11-22 19:25:43 -08:00
2011-07-25 20:57:17 -07:00
2011-07-25 20:57:17 -07:00
2011-05-26 19:45:34 +02:00
2010-09-22 17:22:39 -07:00
2010-10-29 00:29:19 +02:00
2011-06-10 14:55:36 +02:00
2011-03-31 11:26:23 -03:00
2011-03-09 11:24:54 -08:00
2011-04-13 01:54:09 +02:00
2011-06-10 14:55:36 +02:00
2011-04-20 18:46:56 +02:00
2011-05-06 17:41:06 -07:00
2011-06-01 19:29:39 -07:00
2011-06-10 14:55:36 +02:00
2010-10-29 19:06:53 +09:00
2011-02-03 13:02:35 -08:00
2011-06-27 18:00:12 -07:00
2011-03-22 17:44:16 -07:00
2011-03-17 10:32:47 -06:00
2011-06-10 14:55:36 +02:00
2011-03-09 11:23:37 -08:00
2011-06-10 14:55:36 +02:00
2011-03-09 11:23:37 -08:00
2011-03-17 10:32:47 -06:00
2011-05-26 17:12:33 -07:00
2011-05-06 17:42:04 -07:00
2010-08-11 08:59:07 -07:00
2010-08-11 08:59:07 -07:00
2011-03-22 17:44:16 -07:00
2010-08-11 08:59:08 -07:00
2011-03-09 11:23:37 -08:00
2010-12-10 22:24:24 -08:00
2011-03-31 11:26:23 -03:00
2011-05-06 18:01:02 -07:00
2011-06-08 14:33:48 -06:00
2011-03-17 10:32:47 -06:00
2011-06-10 14:55:36 +02:00
2011-06-10 14:55:36 +02:00
2010-08-11 08:59:07 -07:00
2010-08-11 08:59:07 -07:00
2011-01-13 08:03:12 -08:00
2011-05-06 18:02:00 -07:00
2011-05-06 18:02:02 -07:00
2011-05-06 18:02:07 -07:00
2011-07-25 20:57:17 -07:00
2011-06-10 14:55:36 +02:00
2011-05-06 18:02:03 -07:00
2011-02-03 13:02:35 -08:00
2011-05-26 17:12:33 -07:00
2011-03-09 11:23:37 -08:00
2011-08-03 14:25:20 -10:00
2011-05-06 18:02:04 -07:00
2010-08-11 08:59:06 -07:00
2011-05-26 17:12:33 -07:00
2011-03-17 18:48:35 -07:00
2011-03-17 18:48:35 -07:00
2011-07-25 20:57:17 -07:00
2011-03-09 11:25:04 -08:00
2011-06-10 14:55:36 +02:00
2011-03-09 11:23:37 -08:00
2011-05-06 18:02:05 -07:00
2010-10-27 15:30:32 +09:00
2011-03-09 11:24:54 -08:00
2011-05-26 17:12:33 -07:00
2011-03-09 11:23:34 -08:00
2010-07-27 14:32:06 -07:00
2011-07-25 21:00:19 -07:00
2010-06-03 11:33:58 +02:00
2011-03-09 11:25:08 -08:00
2011-03-29 14:48:19 +02:00
2011-05-26 17:12:33 -07:00
2010-05-21 09:37:31 -07:00
2011-07-01 18:09:57 -07:00
2011-07-25 20:57:17 -07:00
2011-03-09 11:25:07 -08:00
2011-05-17 14:44:36 -04:00
2011-07-25 20:57:17 -07:00
2010-05-21 09:37:31 -07:00
2011-03-09 11:23:35 -08:00
2011-07-01 17:59:36 -07:00
2011-03-09 11:23:37 -08:00
2011-03-09 11:23:37 -08:00
2011-03-31 11:26:23 -03:00