]> asedeno.scripts.mit.edu Git - linux.git/commit
PM: sleep: Integrate suspend-to-idle with generig suspend flow
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Jul 2019 21:52:12 +0000 (23:52 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Jul 2019 07:46:50 +0000 (09:46 +0200)
commit8eb0fd3b55f084320ae511cd5a64d356cf497c83
tree954eab7b19732b575fd55e296b65a7c32d2c3225
parent56b991849009f5def0443bfb2f48c8321d888e15
PM: sleep: Integrate suspend-to-idle with generig suspend flow

After previous changes the suspend-to-idle code flow can be
integrated more tightly with the generic system suspend code flow
by making suspend_enter() call s2idle_loop() later and removing
the direct invocations of dpm_noirq_begin(),
dpm_noirq_suspend_devices(), dpm_noirq_end(), and
dpm_noirq_resume_devices() from the latter, so do that.

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>
kernel/power/suspend.c