diff options
author | Rafael J. Wysocki <[email protected]> | 2020-04-18 18:52:19 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2020-04-24 21:31:28 +0200 |
commit | 0fe8a1be599ab97f840ba22d98cb8f24a9f9e872 (patch) | |
tree | fa30b29438b06839bff2c88c993efc84bbdee2f9 /scripts/gdb/linux/utils.py | |
parent | 6e176bf8d46194353163c2cb660808bc633b45d9 (diff) |
PM: sleep: core: Rework the power.may_skip_resume handling
Because the power.may_skip_resume device status bit is taken
into account in combination with the DPM_FLAG_LEAVE_SUSPENDED
driver flag, it can be set to 'true' for all devices in the
"suspend" phase of a suspend-resume cycle, so do that.
Then, neither the PM core nor the middle-layer (sybsystem) code
handling it needs to set it to 'true' any more and it just has
to be cleared if there is a reason to avoid skipping the "noirq"
and "early" resume callbacks provided by the driver, so update
the code in question accordingly.
Suggested-by: Alan Stern <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Alan Stern <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions