summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/genapic.h
diff options
context:
space:
mode:
authorJean Delvare2008-04-12 19:56:35 +0200
committerMark M. Hoffman2008-08-01 05:44:03 +0200
commit7133e56f29030b13601d3399e20050053e560860 (patch)
tree0847f9d75e30b465fb8919793baf874281a2902a /include/asm-x86/genapic.h
parenthwmon: (lm85) Drop dead code (diff)
downloadkernel-qcow2-linux-7133e56f29030b13601d3399e20050053e560860.tar.gz
kernel-qcow2-linux-7133e56f29030b13601d3399e20050053e560860.tar.xz
kernel-qcow2-linux-7133e56f29030b13601d3399e20050053e560860.zip
hwmon: (lm85) Don't write back cached values
In set_pwm_auto_pwm_minctl, we write cached register bits back to the chip. This is a bad idea as we have no guarantee that the cache is up-to-date. Better read a fresh register value from the chip, it's safer and in fact it is also more simple. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Juerg Haefliger <juergh at gmail.com> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'include/asm-x86/genapic.h')
0 files changed, 0 insertions, 0 deletions