diff options
author | 2025-05-09 15:03:35 +0200 | |
---|---|---|
committer | 2025-05-13 21:59:02 +0200 | |
commit | f5c0ecf196aaf78777f1606f1e0392c5e57c4530 (patch) | |
tree | ff84c74309cd9be028f8e34cd5772dcf45ad61e6 /scripts/lib/kdoc/kdoc_output.py | |
parent | PM: sleep: Introduce pm_suspend_in_progress() (diff) | |
download | linux-rng-f5c0ecf196aaf78777f1606f1e0392c5e57c4530.tar.xz linux-rng-f5c0ecf196aaf78777f1606f1e0392c5e57c4530.zip |
PM: sleep: Introduce pm_sleep_transition_in_progress()
The "suspend in progress" check in device_wakeup_enable() does not
cover hibernation, but arguably it should do that, so introduce
pm_sleep_transition_in_progress() covering transitions during both
system suspend and hibernation to use in there and use it also in
pm_debug_messages_should_print().
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/7820474.EvYhyI6sBW@rjwysocki.net
[ rjw: Move the new function definition under CONFIG_PM_SLEEP ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions