]> git.baikalelectronics.ru Git - kernel.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)
commit6c11fe5ae5c61925a3b93f8ef2fa5d085b1b3893
tree8407fb28b2a1cda5e11170e9db5435f8ca02e468
parent0be8728af93427380ae683b96b2a4af835d2680d
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: 80f2c587e53b ("hwmon: (nct6775) Add support for NCT6796D")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c