summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-22 14:58:23 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-22 18:09:58 +0200
commit928265e3601cde78c7e0a3e518a93b27defed3b1 (patch)
tree3e2533861449ddcfc5dac654c5f67154d13ef4a2 /kernel/power
parentPM: hibernate: Get block device exclusively in swsusp_check() (diff)
downloadlinux-928265e3601cde78c7e0a3e518a93b27defed3b1.tar.xz
linux-928265e3601cde78c7e0a3e518a93b27defed3b1.zip
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: 057d51a1268f ("Merge branch 'pm-sleep'") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc: 3.10+ <stable@vger.kernel.org> # 3.10+ Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions