hwmon: (nct6775) Fix fan6/pwm6 detection for NCT6792D
authorGuenter Roeck <linux@roeck-us.net>
Tue, 18 Sep 2018 17:52:55 +0000 (10:52 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 11 Oct 2018 03:37:13 +0000 (20:37 -0700)
commit7dcdbdeb1b45b9071ad986bf20d8c2da6a057eb6
tree325541fe71c80e35c7ea859809fe22e54dadfb80
parentb2833f397dc1443b4db8c7b363d8dc41af805054
hwmon: (nct6775) Fix fan6/pwm6 detection for NCT6792D

Per datasheet, AUXFANIN3 (fan6) and AUXFANOUT3 (pwm6) are only connected
if DSW_EN is false.

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