Files
kernel-tenderloin-3.0/drivers/rtc
Rabin Vincent 4ebbdc2c9a rtc: Disable the alarm in the hardware
commit c0afabd3d553c521e003779c127143ffde55a16f upstream.

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: John Stultz <john.stultz@linaro.org>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-09 08:52:48 -08:00
..
2011-04-26 14:01:41 -07:00
2011-03-31 11:26:23 -03:00
2011-06-01 19:29:39 -07:00
2011-03-22 17:44:16 -07:00
2011-05-26 17:12:33 -07:00
2011-03-31 11:26:23 -03:00
2011-05-26 17:12:33 -07:00
2011-05-26 17:12:33 -07:00
2011-03-31 11:26:23 -03:00