]> git.baikalelectronics.ru Git - kernel.git/commit
RTC: rtc-cmos: Fix wakeup from suspend-to-idle
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 14 May 2017 00:23:12 +0000 (02:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 14 May 2017 00:23:12 +0000 (02:23 +0200)
commite6398cf924c998570fc143153d2b6a0bda95dff8
tree80ea4fc55ac7451122cd8bd069e664a974f6cc25
parent6477812363a1ddcfec9563a7c46c4c7f4cb843d6
RTC: rtc-cmos: Fix wakeup from suspend-to-idle

Commit 1ae3fa4eb31e (ACPI / sleep: Ignore spurious SCI wakeups from
suspend-to-idle) modified the core suspend-to-idle code to filter
out spurious SCI interrupts received while suspended, which requires
ACPI event source handlers to report wakeup events in a way that
will trigger a wakeup from suspend to idle (or abort system suspends
in progress, which is equivalent).

That needs to be done in the rtc-cmos driver too, which was overlooked
by the above commit, so do that now.

Fixes: 1ae3fa4eb31e (ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle)
Reported-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/rtc/rtc-cmos.c