diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-06-27 21:25:22 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-07-03 17:10:40 +0200 |
commit | 325e3778eac3916f3451f8ceccafdc31427ccdd1 (patch) | |
tree | 69a526c5f8c71a66791960181d2aaaaeb1b49c83 /scripts/lib/kdoc/kdoc_files.py | |
parent | ffda4ca4608ea811aee2aace211bbf27c68a8853 (diff) |
ACPI: PM: Set/clear power.strict_midlayer in prepare/complete
The ACPI general PM domain and the LPSS PM domain do not expect their
mid-layer runtime PM suspend callbacks to be invoked at all during
system-wide suspend and resume and they do not expect their runtime
resume callbacks to be invoked at any point when runtime PM is disabled
for the given device during system suspend and resume, so make
acpi_subsys_prepare() set power.strict_midlayer for the given device
to express that expectation and make acpi_subsys_complete() clear it.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://patch.msgid.link/4463062.ejJDZkT8p0@rjwysocki.net
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions