]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon/w83627ehf: Fix timing issues
authorJean Delvare <khali@linux-fr.org>
Sun, 24 Jun 2007 09:19:01 +0000 (11:19 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 19 Jul 2007 18:22:17 +0000 (14:22 -0400)
commit61576d1e47f6f954702acf0773dff8fb98ec0cd4
treee5acce165cd5df721285f6046f2af5fda7739fd9
parent0e68f76a9d41653c1d9b5d65610b14889c8fd828
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