hwmon: (it87) Invalidate cache on temperature sensor change
authorJean Delvare <khali@linux-fr.org>
Wed, 14 Apr 2010 14:14:10 +0000 (16:14 +0200)
committerJean Delvare <khali@linux-fr.org>
Wed, 14 Apr 2010 14:14:10 +0000 (16:14 +0200)
commit2b3d1d87eaabf422a42440351ff3be1792d35852
tree692f159899cfa29bb33c9394c1c6616a106a11a2
parent8acf07c5a7674e53f2d320d540aec5d714b105cf
hwmon: (it87) Invalidate cache on temperature sensor change

When any temperature sensor type is changed, the corresponding
temperature value needs to be updated. The register caching mechanism
may delay this update, so we want to invalidate the cache to force an
immediate update.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/it87.c