linux/drivers/hwmon
Jean Delvare 38a1f0e9ae hwmon: (adm1031) Fix register overwrite in set_fan_div()
Don't rely on the register cache when setting a new fan clock divider.
For one thing, the cache might not have been initialized at all if the
driver has just been loaded. For another, the cached values may be old
and you never know what can happen in the driver's back.

Also invalidate the cache instead of trying to adjust the measured fan
speed: the whole point of changing the clock divider is to get a better
reading.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
2008-02-07 20:39:43 -05:00
..
ams Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-10-12 21:27:47 -04:00
Kconfig hwmon: (w83781d) Drop W83627HF support 2008-02-07 20:39:43 -05:00
Makefile hwmon: Add support for Winbond W83L786NG/NR 2008-02-07 20:39:40 -05:00
abituguru.c Merge branch 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6 2007-10-14 12:50:19 -07:00
abituguru3.c hwmon: (abituguru3) Identify ABit IP35 Pro as such 2007-11-08 08:42:47 -05:00
ad7418.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
adm1021.c hwmon: (adm1021) individual alarm files 2007-10-09 22:56:31 -04:00
adm1025.c hwmon: (adm1025) Various cleanups 2008-02-07 20:39:41 -05:00
adm1026.c hwmon: (adm1026) Don't create files for missing inputs 2008-02-07 20:39:43 -05:00
adm1029.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
adm1031.c hwmon: (adm1031) Fix register overwrite in set_fan_div() 2008-02-07 20:39:43 -05:00
adm9240.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
adt7470.c hwmon: (adt7470) Support per-sensor alarm files 2008-02-07 20:39:42 -05:00
applesmc.c leds: Standardise LED naming scheme 2008-02-07 09:47:00 +00:00
asb100.c hwmon: VRM is not read from registers 2007-10-09 22:56:32 -04:00
atxp1.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
coretemp.c HWMON: coretemp, suspend fix 2007-12-04 01:35:32 -05:00
dme1737.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
ds1621.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
f71805f.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
f71882fg.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
f75375s.c hwmon: (f75375s) pwmX_mode sysfs files writable for f75375 variant 2007-11-08 08:42:47 -05:00
fscher.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
fschmd.c hwmon: (fschmd) Read voltage scaling factors from BIOS DMI 2008-02-07 20:39:42 -05:00
fscpos.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
gl518sm.c hwmon: (gl518sm) Fix the reported fan speed 2008-02-07 20:39:41 -05:00
gl520sm.c hwmon: (gl520sm) Add individual alarm and beep files 2008-02-07 20:39:42 -05:00
hdaps.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
hwmon-vid.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
hwmon.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
i5k_amb.c hwmon: (i5k_amb) Convert macros to C functions 2007-11-08 08:42:47 -05:00
ibmpex.c hwmon: (ibmpex) Change printk to dev_{info,err} macros 2007-11-08 08:42:46 -05:00
it87.c hwmon: (it87) Delete pwmN_freq files on driver removal 2008-02-07 20:39:43 -05:00
k8temp.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
lm63.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
lm70.c hwmon: (lm70) Convert semaphore to mutex 2007-11-08 08:42:46 -05:00
lm75.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
lm75.h hwmon: Allow writing of negative trigger temperatures 2007-10-09 22:56:29 -04:00
lm77.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
lm78.c hwmon: (lm78/w83781d) Probe fewer I2C addresses 2008-02-07 20:39:40 -05:00
lm80.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
lm83.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
lm85.c hwmon: VRM is not read from registers 2007-10-09 22:56:32 -04:00
lm87.c hwmon: (lm87) Add support for the Analog Devices ADM1024 2008-02-07 20:39:40 -05:00
lm90.c hwmon: (lm90) Use generic i2c reads during detection 2008-02-07 20:39:41 -05:00
lm92.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
lm93.c hwmon: (lm93) Use standard names for vid files 2007-10-09 22:56:30 -04:00
max1619.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
max6650.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
pc87360.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
pc87427.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
sis5595.c hwmon: (sis5595) Split sis5595_attributes_opt 2007-11-08 08:42:45 -05:00
smsc47b397.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
smsc47m1.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
smsc47m192.c hwmon: VRM is not read from registers 2007-10-09 22:56:32 -04:00
thmc50.c hwmon: (thmc50) Fix a debug message 2007-10-09 22:56:31 -04:00
via686a.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
vt1211.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
vt8231.c hwmon: (vt8231) Add missing "space" 2008-02-07 20:39:42 -05:00
w83l785ts.c hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
w83l786ng.c hwmon: Add support for Winbond W83L786NG/NR 2008-02-07 20:39:40 -05:00
w83627ehf.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
w83627hf.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
w83781d.c hwmon: (w83781d) Misc cleanups 2008-02-07 20:39:43 -05:00
w83791d.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
w83792d.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
w83793.c hwmon: (w83793) remove duplicated defines 2008-02-07 20:39:40 -05:00