From: Rafael J. Wysocki Date: Tue, 9 Jun 2015 23:32:38 +0000 (+0200) Subject: ACPI / PM: Add missing pm_generic_complete() invocation X-Git-Tag: v3.16.35~1782 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=93d1c993f15ff795576f5d48f8ba12f36e1fb61e;p=thirdparty%2Fkernel%2Fstable.git ACPI / PM: Add missing pm_generic_complete() invocation commit 3d56402d3fa8d10749eeb36293dd1992bd5ad0c3 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: f25c0ae2b4c4 (ACPI / PM: Avoid resuming devices in ACPI PM domain during system suspend) Signed-off-by: Rafael J. Wysocki Signed-off-by: Luis Henriques --- diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index f702dcef4df90..e9f44a210712b 100644 --- a/drivers/acpi/device_pm.c +++ b/drivers/acpi/device_pm.c @@ -930,6 +930,7 @@ EXPORT_SYMBOL_GPL(acpi_subsys_prepare); */ void acpi_subsys_complete(struct device *dev) { + pm_generic_complete(dev); /* * 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