2
0
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:
Dan Eaton
2000-11-01 16:53:42 +00:00
parent 7d4089704e
commit ab8a428bb6

View File

@@ -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