PM / s2idle: Rearrange the main suspend-to-idle loop

As a preparation for subsequent changes, rearrange the core
suspend-to-idle code by moving the initial invocation of
dpm_suspend_noirq() into s2idle_loop().

This also causes debug messages from that code to appear in
a less confusing order.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Rafael J. Wysocki 2017-07-21 02:07:54 +02:00
commit 8e6bcd9f7e
2 changed files with 17 additions and 13 deletions