]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hwmon: (nct6775) Fix RPM output for fan7 on NCT6796D
authorGuenter Roeck <linux@roeck-us.net>
Fri, 14 Sep 2018 03:01:12 +0000 (20:01 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 15 Sep 2018 23:18:44 +0000 (16:18 -0700)
commitf6de298806d9cbc63a4907bca34a06162b9d7dce
tree8407fb28b2a1cda5e11170e9db5435f8ca02e468
parent37196ba4ae95a2077d78715eb12e879e57613d43
hwmon: (nct6775) Fix RPM output for fan7 on NCT6796D

fan7 on NCT6796D does not have a fan count register; it only has an RPM
register. Switch to using RPM registers to read the fan speed for all
chips supporting it to solve the problem for good.

Reported-by: Robert Kern <ulteq@web.de>
Cc: Robert Kern <ulteq@web.de>
Fixes: 81820059a428 ("hwmon: (nct6775) Add support for NCT6796D")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c