aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_events.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-11-22 11:03:14 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-09 08:52:48 -0800
commit4ebbdc2c9aad8e28e1335755c728d31032b24cfb (patch)
treeb1c96afd3c1301a4ea957d26e5c296227b2e31ae /kernel/trace/trace_events.c
parent4e3cd8129cf10c92c8e88251b519703dc65523be (diff)
downloadkernel_samsung_smdk4412-4ebbdc2c9aad8e28e1335755c728d31032b24cfb.zip
kernel_samsung_smdk4412-4ebbdc2c9aad8e28e1335755c728d31032b24cfb.tar.gz
kernel_samsung_smdk4412-4ebbdc2c9aad8e28e1335755c728d31032b24cfb.tar.bz2
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>
Diffstat (limited to 'kernel/trace/trace_events.c')
0 files changed, 0 insertions, 0 deletions