]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (w83627hf) Fix setting fan min right after driver load
authorJean Delvare <khali@linux-fr.org>
Fri, 12 Oct 2007 19:53:07 +0000 (21:53 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Sat, 13 Oct 2007 16:48:11 +0000 (12:48 -0400)
commitc09c5184a26158da32801e89d5849d774605f0dd
tree3dd783a912b980792d78d14f02118ec59a1518c2
parent07584c762541672e35735b52af031183ca17a5a2
hwmon: (w83627hf) Fix setting fan min right after driver load

We need to read the fan clock dividers at initialization time,
otherwise the code in store_fan_min() may use uninitialized values.
That's pretty much the same bug and same fix as for the w83627ehf
driver last month.

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