hwmon: (nct6775) Monitor additional temperature registers
authorGuenter Roeck <linux@roeck-us.net>
Wed, 13 Nov 2013 20:46:20 +0000 (12:46 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 18 Nov 2013 22:08:05 +0000 (14:08 -0800)
commitd1a284b7ed8124599e3b747fb2b86311761fb609
treeddfeb2aa9433881516d15442d9843404ebee5717
parentc98d6c65e6e6bd24a12174fff6ca4990d346de5d
hwmon: (nct6775) Monitor additional temperature registers

The number of SMIOVT registers on NCT6779 and NCT6791 is limited to 2.
As result, the driver may not report some of the temperatures used
for fan control. This can result in some of the pwmX_temp_sel or
pwm2_weight_temp_sel attributes to wrongly return 0.
Fortunately, the chip has registers to monitor those temperatures.
Add them to the list of temperatures to report.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c