Skip to content
Commit 928265e3 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

PM: sleep: Do not let "syscore" devices runtime-suspend during system transitions



There is no reason to allow "syscore" devices to runtime-suspend
during system-wide PM transitions, because they are subject to the
same possible failure modes as any other devices in that respect.

Accordingly, change device_prepare() and device_complete() to call
pm_runtime_get_noresume() and pm_runtime_put(), respectively, for
"syscore" devices too.

Fixes: 057d51a1 ("Merge branch 'pm-sleep'")
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: 3.10+ <stable@vger.kernel.org> # 3.10+
Reviewed-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 39fbef4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment