hwmon/w83627ehf: Preserve speed reading when changing fan min
authorJean Delvare <khali@linux-fr.org>
Sun, 17 Jun 2007 14:09:12 +0000 (16:09 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 19 Jul 2007 18:22:15 +0000 (14:22 -0400)
commit158ce07564b68d4215b9560213a089d6f7c5a4ea
tree97483b4ab6d8d051164def0429082a8efdb503e2
parente432dc811bfb6b3d3ad618d99bd8d58132fec316
hwmon/w83627ehf: Preserve speed reading when changing fan min

The w83627ehf driver changes the fan clock divider automatically when
a new min fan speed is set. It is supposed to preserve the fan speed
reading while doing so, bug doesn't really. Fix it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/w83627ehf.c