linux/drivers/base/power
Rafael J. Wysocki daccf40320 PM: sleep: Do not let "syscore" devices runtime-suspend during system transitions
commit 928265e360 upstream.

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: 057d51a126 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-18 14:03:46 +01:00
..
clock_ops.c
common.c
domain_governor.c
domain.c
generic_ops.c
main.c PM: sleep: Do not let "syscore" devices runtime-suspend during system transitions 2021-11-18 14:03:46 +01:00
Makefile
power.h
qos-test.c
qos.c
runtime.c
sysfs.c
trace.c
wakeirq.c
wakeup_stats.c
wakeup.c