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

    PM / Sleep: use resume event when call dpm_resume_early

to the 3.4-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-sleep-use-resume-event-when-call-dpm_resume_early.patch
and it can be found in the queue-3.4 subdirectory.

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


>From 997a031107ec962967ce36db9bc500f1fad491c1 Mon Sep 17 00:00:00 2001
From: Feng Hong <[email protected]>
Date: Wed, 19 Sep 2012 14:16:00 +0200
Subject: PM / Sleep: use resume event when call dpm_resume_early

From: Feng Hong <[email protected]>

commit 997a031107ec962967ce36db9bc500f1fad491c1 upstream.

When dpm_suspend_noirq fail, state is PMSG_SUSPEND,
should change to PMSG_RESUME when dpm_resume_early is called

Signed-off-by: Feng Hong <[email protected]>
Signed-off-by: Raul Xiong <[email protected]>
Signed-off-by: Neil Zhang <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/base/power/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -984,7 +984,7 @@ int dpm_suspend_end(pm_message_t state)
 
        error = dpm_suspend_noirq(state);
        if (error) {
-               dpm_resume_early(state);
+               dpm_resume_early(resume_event(state));
                return error;
        }
 


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

queue-3.4/pm-sleep-use-resume-event-when-call-dpm_resume_early.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