X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fhwmon%2Fmax1668.c;h=e19fef7acfa5c9b486a4dd672a8591884943bcb9;hb=6f5913017efcb8f08d80bdc39edb36956c6e4ab2;hp=20d1b2ddffb633fbc8b555a8818e0cab479c4cfa;hpb=a8acfd82ebefbb32f12f413019e53f9e939cf44e;p=pandora-kernel.git diff --git a/drivers/hwmon/max1668.c b/drivers/hwmon/max1668.c index 20d1b2ddffb6..e19fef7acfa5 100644 --- a/drivers/hwmon/max1668.c +++ b/drivers/hwmon/max1668.c @@ -243,7 +243,7 @@ static ssize_t set_temp_min(struct device *dev, data->temp_min[index] = SENSORS_LIMIT(temp/1000, -128, 127); if (i2c_smbus_write_byte_data(client, MAX1668_REG_LIML_WR(index), - data->temp_max[index])) + data->temp_min[index])) count = -EIO; mutex_unlock(&data->update_lock);