adt7470: make automatic fan control really work
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 6 Jan 2009 22:41:34 +0000 (14:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:18 +0000 (15:59 -0800)
commit89fac11cb3e7c5860c425dba14845c09ccede39d
tree1c5d66ce88efaeb2461c250f43036faa620f6bf7
parent2f22d5dff6f95d777c4cb217b99bfdf1fe306128
adt7470: make automatic fan control really work

It turns out that the adt7470's automatic fan control algorithm only works
when the temperature sensors get updated.  This in turn happens only when
someone tells the chip to read its temperature sensors.  Regrettably, this
means that we have to drive the chip periodically.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/hwmon/adt7470
drivers/hwmon/adt7470.c