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

    PM / Domains: Check domain status during hibernation restore of devices

to the 3.3-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:
     pm-domains-check-domain-status-during-hibernation-restore-of-devices.patch
and it can be found in the queue-3.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From [email protected]  Mon Mar 26 14:57:30 2012
From: "Rafael J. Wysocki" <[email protected]>
Date: Mon, 26 Mar 2012 23:24:40 +0200
Subject: PM / Domains: Check domain status during hibernation restore of devices
To: Greg KH <[email protected]>
Cc: [email protected], [email protected], [email protected], 
[email protected]
Message-ID: <[email protected]>


From: Rafael J. Wysocki <[email protected]>

This is a backport of mainline commit
18dd2ece3cde14cfd42e95a89eb14016699a5f15.

Power domains that were off before hibernation shouldn't be turned on
during device restore, so prevent that from happening.

This change fixed up mainline commit
65533bbf63b4f37723fdfedc73d0653958973323

    PM / Domains: Fix hibernation restore of devices, v2

that didn't include it by mistake.

Signed-off-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/base/power/domain.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1064,6 +1064,9 @@ static int pm_genpd_restore_noirq(struct
                }
        }
 
+       if (genpd->suspend_power_off)
+               return 0;
+
        pm_genpd_poweron(genpd);
        genpd_start_dev(genpd, dev);
 


Patches currently in stable-queue which might be from [email protected] are

queue-3.3/pm-domains-fix-handling-of-wakeup-devices-during-system-resume.patch
queue-3.3/pm-domains-fix-hibernation-restore-of-devices-v2.patch
queue-3.3/pm-domains-check-domain-status-during-hibernation-restore-of-devices.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to