diff mbox

[linux-pm] PM: Fixes warning on suspend errors

Message ID B85A65D85D7EB246BE421B3FB0FBB59301DE0DCA79@dbde02.ent.ti.com (mailing list archive)
State Not Applicable
Delegated to: Kevin Hilman
Headers show

Commit Message

Dasgupta, Romit Oct. 27, 2009, 2:30 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index e0dc407..3d0b26a 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -444,6 +444,7 @@  static void dpm_resume(pm_message_t state)
 
 	INIT_LIST_HEAD(&list);
 	mutex_lock(&dpm_list_mtx);
+	transition_started = false;
 	while (!list_empty(&dpm_list)) {
 		struct device *dev = to_device(dpm_list.next);