mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
(dan) Extended cache time for values to 5 seconds.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@922 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -285,7 +285,7 @@ void pcf8574_update_client(struct i2c_client *client)
|
||||
|
||||
down(&data->update_lock);
|
||||
|
||||
if ((jiffies - data->last_updated > HZ + HZ / 2) ||
|
||||
if ((jiffies - data->last_updated > 5*HZ) ||
|
||||
(jiffies < data->last_updated) || !data->valid) {
|
||||
|
||||
#ifdef DEBUG
|
||||
|
Reference in New Issue
Block a user