hwmon/w83627ehf: Fix timing issues
commit6b3e46458049fe556c2346a347c4540e532db288
authorJean Delvare <khali@linux-fr.org>
Sun, 24 Jun 2007 09:19:01 +0000 (24 11:19 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 19 Jul 2007 18:22:17 +0000 (19 14:22 -0400)
treee5acce165cd5df721285f6046f2af5fda7739fd9
parent475ef85512900dcb87435e13656c1f5e724de379
hwmon/w83627ehf: Fix timing issues

* I have experimental evidence that the W83627EHG needs more than 1
second to refresh all the measured values. Increase the caching time to
1.5 second.
* When changing a fan clock divider, the corresponding fan speed
measurement register is no longer valid, until the next time the chip
will refresh it. One way to fix this is to pretend that the cache is
still valid for one more period (1.5 second.)

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/w83627ehf.c