projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a00d643
)
hwmon: (amc6821) Double unlock bug
author
Dan Carpenter
<error27@gmail.com>
Mon, 25 Jan 2010 14:00:49 +0000
(15:00 +0100)
committer
Jean Delvare
<khali@linux-fr.org>
Mon, 25 Jan 2010 14:00:49 +0000
(15:00 +0100)
The mutex gets unlocked after we goto EXIT.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/amc6821.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/amc6821.c
b/drivers/hwmon/amc6821.c
index 1c89d922d6199ad3215a6806eedc647bdc9bf415..fa9708c2d723d27b52eece60e6a2c525ee65246c 100644
(file)
--- a/
drivers/hwmon/amc6821.c
+++ b/
drivers/hwmon/amc6821.c
@@
-686,7
+686,6
@@
static ssize_t set_fan1_div(
data->fan1_div = 4;
break;
default:
- mutex_unlock(&data->update_lock);
count = -EINVAL;
goto EXIT;
}