]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon: (w83627ehf) Fix number of fans for NCT6776F
authorGuenter Roeck <linux@roeck-us.net>
Fri, 27 Jan 2012 13:43:59 +0000 (05:43 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 19:06:10 +0000 (11:06 -0800)
commiteb521fbb338f21b2de12fe8f7e4fa5b7e4f9fb2a
tree4c9ca24549b6756c222e88274b2644a6f0034ba0
parentd378b2d044139f88384d278bd5830669c44c789b
hwmon: (w83627ehf) Fix number of fans for NCT6776F

commit 585c0fd8216e0c9f98e2434092af7ec0f999522d upstream.

NCT6776F can select fan input pins for fans 3 to 5 with a secondary set of
chip register bits. Check that second set of bits in addition to the first set
to detect if fans 3..5 are monitored.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/w83627ehf.c