summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-01 12:54:10 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-03 00:13:24 +0200
commit3cd7957e85e67120bb9f6bfb75d81dcc19af282b (patch)
treeb5e9da69765e55e66f9162d502b726fc273614fe /init
parenta78ae45a795aa579efa4094729073bbdab02da25 (diff)
downloadlwn-3cd7957e85e67120bb9f6bfb75d81dcc19af282b.tar.gz
lwn-3cd7957e85e67120bb9f6bfb75d81dcc19af282b.zip
ACPI: PM: Simplify and fix PM domain hibernation callbacks
First, after a previous change causing all runtime-suspended devices in the ACPI PM domain (and ACPI LPSS devices) to be resumed before creating a snapshot image of memory during hibernation, it is not necessary to worry about the case in which them might be left in runtime-suspend any more, so get rid of the code related to that from ACPI PM domain and ACPI LPSS hibernation callbacks. Second, it is not correct to use pm_generic_resume_early() and acpi_subsys_resume_noirq() in hibernation "restore" callbacks (which currently happens in the ACPI PM domain and ACPI LPSS), so introduce proper _restore_late and _restore_noirq callbacks for the ACPI PM domain and ACPI LPSS. Fixes: 05087360fd7a (ACPI / PM: Take SMART_SUSPEND driver flag into account) Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions