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)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sun, 5 Feb 2012 02:08:23 +0000 (18:08 -0800)
commit585c0fd8216e0c9f98e2434092af7ec0f999522d
tree77da351a59212e1752aee600c0db0017bc3da79f
parent62aa2b537c6f5957afd98e29f96897419ed5ebab
hwmon: (w83627ehf) Fix number of fans for NCT6776F

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>
Cc: stable@vger.kernel.org # 3.0+
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83627ehf.c