2.6.30-stable review patch. If anyone has any objections, please let us know. ------------------ From: Jiri Slaby commit 025dc740d01f99ccba945df1f9ef9e06b1c15d96 upstream. Add omitted update_lock to one switch/case in set_div. Signed-off-by: Jiri Slaby Acked-by: Hans J. Koch Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- drivers/hwmon/max6650.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/hwmon/max6650.c +++ b/drivers/hwmon/max6650.c @@ -407,6 +407,7 @@ static ssize_t set_div(struct device *de data->count = 3; break; default: + mutex_unlock(&data->update_lock); dev_err(&client->dev, "illegal value for fan divider (%d)\n", div); return -EINVAL; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/