hwmon: (w83627ehf) Fix writing into fan_stop_time for NCT6775F/NCT6776F
authorGuenter Roeck <linux@roeck-us.net>
Mon, 12 Mar 2012 15:21:16 +0000 (08:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Mar 2012 16:02:35 +0000 (09:02 -0700)
commit5f418b22bacdbae9f607be8951266c5a6c2aca86
treef44a6739472a0e755be5a7ea118a77441ba5cdf1
parent60eba3f83735efbb3125708a37542a2c93123fea
hwmon: (w83627ehf) Fix writing into fan_stop_time for NCT6775F/NCT6776F

commit 33fa9b620409edfc71aa6cf01a51f990fbe46ab8 upstream.

NCT6775F and NCT6776F have their own set of registers for FAN_STOP_TIME. The
correct registers were used to read FAN_STOP_TIME, but writes used the wrong
registers. Fix it.

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