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)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 12 Mar 2012 17:40:30 +0000 (10:40 -0700)
commit33fa9b620409edfc71aa6cf01a51f990fbe46ab8
tree82bf57261c8566bfe913c7ddb6eba11663ef58f1
parentfde7d9049e55ab85a390be7f415d74c9f62dd0f9
hwmon: (w83627ehf) Fix writing into fan_stop_time for NCT6775F/NCT6776F

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