diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-06-09 19:32:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-21 13:10:02 -0400 |
commit | 5ab4a6010600c24c37f5178d6da981e18cbb090a (patch) | |
tree | 44ac91c8613dbece034bee5d6d6ad85683735331 | |
parent | 9e6004867b1a9e4ededb8d56edb827de67073291 (diff) |
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 <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/acpi/device_pm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index 735db11a9b00..8217e0bda60f 100644 --- a/drivers/acpi/device_pm.c +++ b/drivers/acpi/device_pm.c | |||
@@ -953,6 +953,7 @@ EXPORT_SYMBOL_GPL(acpi_subsys_prepare); | |||
953 | */ | 953 | */ |
954 | void acpi_subsys_complete(struct device *dev) | 954 | void acpi_subsys_complete(struct device *dev) |
955 | { | 955 | { |
956 | pm_generic_complete(dev); | ||
956 | /* | 957 | /* |
957 | * If the device had been runtime-suspended before the system went into | 958 | * If the device had been runtime-suspended before the system went into |
958 | * the sleep state it is going out of and it has never been resumed till | 959 | * the sleep state it is going out of and it has never been resumed till |