aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2025-05-09 13:03:35 +0000
committerRafael J. Wysocki <[email protected]>2025-05-13 19:59:02 +0000
commitf5c0ecf196aaf78777f1606f1e0392c5e57c4530 (patch)
treeff84c74309cd9be028f8e34cd5772dcf45ad61e6 /rust/helpers/helpers.c
parentPM: sleep: Introduce pm_suspend_in_progress() (diff)
downloadkernel-f5c0ecf196aaf78777f1606f1e0392c5e57c4530.tar.gz
kernel-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 <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Move the new function definition under CONFIG_PM_SLEEP ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions