projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f808bc
)
PM: Remove unbalanced mutex_unlock() from dpm_resume()
author
Rafael J. Wysocki
<rjw@sisk.pl>
Wed, 20 Feb 2008 01:01:41 +0000
(
02:01
+0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 21 Feb 2008 23:27:08 +0000
(15:27 -0800)
Remove an unnecessary unlocking of dpm_list_mtx in the error path
in drivers/base/power/main.c:dpm_suspend() .
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/power/main.c
b/drivers/base/power/main.c
index d6095608465a6f4e88f8eeece4beacdb6e05134f..cea5ed3919cdca54f88e0d5d16d36ac5e3ef02a4 100644
(file)
--- a/
drivers/base/power/main.c
+++ b/
drivers/base/power/main.c
@@
-479,7
+479,6
@@
static int dpm_suspend(pm_message_t state)
mutex_lock(&dpm_list_mtx);
if (list_empty(&dev->power.entry))
list_add(&dev->power.entry, &dpm_locked);
- mutex_unlock(&dpm_list_mtx);
break;
}
mutex_lock(&dpm_list_mtx);