Make the PM core call dev_pm_skip_next_resume_phases() to skip the
"early resume" and "resume" phases of system-wide transitions to the
working state for a given device instead of clearing the relevant
status bits for it directly.
No intentional changes in functionality.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
* device again.
*/
pm_runtime_set_suspended(dev);
- dev->power.is_late_suspended = false;
- dev->power.is_suspended = false;
+ dev_pm_skip_next_resume_phases(dev);
}
Out: