summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-15 23:51:19 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-23 09:46:33 +0200
commit41275eb5c7181febdfaa63c3a0ad9b7acdadcd52 (patch)
tree73b1a1ac9eb8203030a55dcb2f2d133a1d59626f /Makefile
parent2933954b71f10d392764f95eec0f0aa2d103054b (diff)
downloadlwn-41275eb5c7181febdfaa63c3a0ad9b7acdadcd52.tar.gz
lwn-41275eb5c7181febdfaa63c3a0ad9b7acdadcd52.zip
ACPI: PM: Set s2idle_wakeup earlier and clear it later
The role of the s2idle_wakeup variable is to cause acpi_pm_wakeup_event() and acpi_pm_notify_handler() to increment pm_abort_suspend and trigger a wakeup from suspend-to-idle in case the ACPI SCI wakeup was canceled by acpi_s2idle_wake(). However, for this purpose it need not be set in acpi_s2idle_wake() and cleared in acpi_s2idle_sync(), respectively. In fact, it may be set as early as in acpi_s2idle_prepare() and cleared as late as in acpi_s2idle_restore(), so do that to allow subsequent changes to be simpler. This change is not expected to alter functionality. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions