lkml.org 
[lkml]   [2022]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH -next 0/2] PM: suspend: Optimized suspend is fail returned by wakeup
Date
When the suspend process is executed from the /sys/power/state entry,
the pm_wakeup_clear() signal is cleared in advance, and the wakeup
signal can be captured to fail the suspend process when the suspend
process is notified by the notifier;

Expanding the scope of the pm_suspend_target_state variable also allows
the device driver to know that the system has entered the suspend
process earlier.

xiongxin (2):
PM: suspend: expand the assignment scope of the
pm_suspend_target_state
PM: suspend: advanced pm_wakeup_clear() for normal suspend/hibernate

kernel/power/process.c | 5 ++++-
kernel/power/suspend.c | 13 +++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)

--
2.25.1


No virus found
Checked by Hillstone Network AntiVirus

\
 
 \ /
  Last update: 2022-06-29 05:44    [W:0.112 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site