From: Darrick J. Wong Date: Tue, 6 Jan 2009 22:41:32 +0000 (-0800) Subject: adt7470: fix pwm at a certain level during temperature sensor scan X-Git-Tag: v2.6.29-rc1~332 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e75a4b7ae0dd4bf7b34e41c2c3be7ac23b8f1cc;p=pandora-kernel.git 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 Cc: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed