Commit 93d1c993 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki Committed by Luis Henriques

ACPI / PM: Add missing pm_generic_complete() invocation

commit 3d56402d upstream.

Add missing invocation of pm_generic_complete() to
acpi_subsys_complete() to allow ->complete callbacks provided
by the drivers of devices using the ACPI PM domain to be executed
during system resume.

Fixes: f25c0ae2 (ACPI / PM: Avoid resuming devices in ACPI PM domain during system suspend)
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent d7564f14
...@@ -930,6 +930,7 @@ EXPORT_SYMBOL_GPL(acpi_subsys_prepare); ...@@ -930,6 +930,7 @@ EXPORT_SYMBOL_GPL(acpi_subsys_prepare);
*/ */
void acpi_subsys_complete(struct device *dev) void acpi_subsys_complete(struct device *dev)
{ {
pm_generic_complete(dev);
/* /*
* If the device had been runtime-suspended before the system went into * If the device had been runtime-suspended before the system went into
* the sleep state it is going out of and it has never been resumed till * the sleep state it is going out of and it has never been resumed till
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment