diff options
| author | Derek Basehore <[email protected]> | 2013-07-03 15:07:54 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-03 16:08:00 -0700 |
| commit | 998a06051afe6cba392eab66fa0ef1d7e7376f6c (patch) | |
| tree | 99e0a0b8a7b7650782f2751d96b665156d21629f /tools/perf/scripts/python | |
| parent | ae8458949a57346e17a07768fbdb626cbe993b89 (diff) | |
drivers/rtc/rtc-cmos.c: work around bios clearing rtc control
The bios may clear the rtc control register when resuming the system. Since the
cmos interrupt handler may now be run before the rtc_cmos is resumed, this can
cause the interrupt handler to ignore an alarm since the alarm bit is not set in
the rtc control register. To work around this, check if the rtc_cmos is
suspended and use the stored value for the rtc control register.
Signed-off-by: Derek Basehore <[email protected]>
Reviewed-by: Sameer Nanda <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Jingoo Han <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: John Stultz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions