Commit 025dc740 authored by Jiri Slaby's avatar Jiri Slaby Committed by Jean Delvare

hwmon: (max6650) Fix lock imbalance

Add omitted update_lock to one switch/case in set_div.
Signed-off-by: default avatarJiri Slaby <>
Acked-by: default avatarHans J. Koch <>
Signed-off-by: default avatarJean Delvare <>
parent f00caa76
......@@ -418,6 +418,7 @@ static ssize_t set_div(struct device *dev, struct device_attribute *devattr,
data->count = 3;
"illegal value for fan divider (%d)\n", div);
return -EINVAL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment