]> git.baikalelectronics.ru Git - kernel.git/commit
adt7470: fix pwm at a certain level during temperature sensor scan
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 6 Jan 2009 22:41:32 +0000 (14:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:18 +0000 (15:59 -0800)
commit279e1061777f6ddcc76ffa9f4c4a3f6d62bd2279
tree3adaaa6a78b2d11b7648a93956c10a0968abd09c
parent647df1ccfb8909f82f87b52c9abb0da86ff0afbf
adt7470: fix pwm at a certain level during temperature sensor scan

In the small window that it takes to read the temperature sensors, the pwm
outputs momentarily drop to 0.  This causes a noticeable hiccup in fan
speed, which is slightly annoying.  The solution is to manually program
the pwm output with whatever the automatic value is and then shift the
fans to manual control while reading temperatures.  Once that is done, put
the fans back to whatever mode of control was there before.

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>
drivers/hwmon/adt7470.c