diff options
-rw-r--r-- | drivers/hwmon/it87.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index a65ba31cad29..5be09c048c5f 100644 --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c | |||
@@ -563,6 +563,7 @@ static ssize_t set_sensor(struct device *dev, struct device_attribute *attr, | |||
563 | mutex_lock(&data->update_lock); | 563 | mutex_lock(&data->update_lock); |
564 | data->sensor = reg; | 564 | data->sensor = reg; |
565 | it87_write_value(data, IT87_REG_TEMP_ENABLE, data->sensor); | 565 | it87_write_value(data, IT87_REG_TEMP_ENABLE, data->sensor); |
566 | data->valid = 0; /* Force cache refresh */ | ||
566 | mutex_unlock(&data->update_lock); | 567 | mutex_unlock(&data->update_lock); |
567 | return count; | 568 | return count; |
568 | } | 569 | } |