stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "ACPI / PM: Add missing pm_generic_complete() invocation" has been added to the 4.0-stable tree
@ 2015-07-16 22:23 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-07-16 22:23 UTC (permalink / raw)
  To: rafael.j.wysocki, gregkh; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    ACPI / PM: Add missing pm_generic_complete() invocation

to the 4.0-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     acpi-pm-add-missing-pm_generic_complete-invocation.patch
and it can be found in the queue-4.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From 3d56402d3fa8d10749eeb36293dd1992bd5ad0c3 Mon Sep 17 00:00:00 2001
From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Date: Wed, 10 Jun 2015 01:32:38 +0200
Subject: ACPI / PM: Add missing pm_generic_complete() invocation

From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>

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>

---
 drivers/acpi/device_pm.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/acpi/device_pm.c
+++ b/drivers/acpi/device_pm.c
@@ -953,6 +953,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


Patches currently in stable-queue which might be from rafael.j.wysocki@intel.com are

queue-4.0/acpi-pm-add-missing-pm_generic_complete-invocation.patch
queue-4.0/acpi-init-switch-over-platform-to-the-acpi-mode-later.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-16 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-16 22:23 Patch "ACPI / PM: Add missing pm_generic_complete() invocation" has been added to the 4.0-stable tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).