|
@@ -240,7 +240,7 @@ static struct tmp401_data *tmp401_update_device(struct device *dev)
|
|
mutex_lock(&data->update_lock);
|
|
mutex_lock(&data->update_lock);
|
|
|
|
|
|
next_update = data->last_updated +
|
|
next_update = data->last_updated +
|
|
- msecs_to_jiffies(data->update_interval) + 1;
|
|
|
|
|
|
+ msecs_to_jiffies(data->update_interval);
|
|
if (time_after(jiffies, next_update) || !data->valid) {
|
|
if (time_after(jiffies, next_update) || !data->valid) {
|
|
if (data->kind != tmp432) {
|
|
if (data->kind != tmp432) {
|
|
/*
|
|
/*
|