|
@@ -247,9 +247,8 @@ static struct lm63_data *lm63_update_device(struct device *dev)
|
|
|
|
|
|
mutex_lock(&data->update_lock);
|
|
|
|
|
|
- next_update = data->last_updated
|
|
|
- + msecs_to_jiffies(data->update_interval) + 1;
|
|
|
-
|
|
|
+ next_update = data->last_updated +
|
|
|
+ msecs_to_jiffies(data->update_interval);
|
|
|
if (time_after(jiffies, next_update) || !data->valid) {
|
|
|
if (data->config & 0x04) { /* tachometer enabled */
|
|
|
/* order matters for fan1_input */
|