projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'cxgb3', 'ehca', 'ipath', 'ipoib', 'misc', 'mlx4', 'mthca' and 'nes...
[linux-2.6-block.git]
/
drivers
/
hwmon
/
max6650.c
diff --git
a/drivers/hwmon/max6650.c
b/drivers/hwmon/max6650.c
index 86142a858238b8ddc0ccf65282ef56e34bd0b8ff..58f66be61b1fbb5e91498c87829b8c912cedc5bc 100644
(file)
--- a/
drivers/hwmon/max6650.c
+++ b/
drivers/hwmon/max6650.c
@@
-418,6
+418,7
@@
static ssize_t set_div(struct device *dev, struct device_attribute *devattr,
data->count = 3;
break;
default:
+ mutex_unlock(&data->update_lock);
dev_err(&client->dev,
"illegal value for fan divider (%d)\n", div);
return -EINVAL;