]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (nct6775) Use different register to get fan RPM for fan7
authorGuenter Roeck <linux@roeck-us.net>
Mon, 17 Sep 2018 12:23:58 +0000 (05:23 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 17 Sep 2018 12:38:50 +0000 (05:38 -0700)
commit49020e2241487168a41b380aa87b6f021cb7558c
tree8e2c0496334dd0d2a569ba9863ea03b5a0b9930c
parent6c11fe5ae5c61925a3b93f8ef2fa5d085b1b3893
hwmon: (nct6775) Use different register to get fan RPM for fan7

The documented register to retrieve the fan RPM for fan7 is found
to be unreliable at least with NCT6796D revision 3. Let's use
register 0x4ce instead. This is undocumented for NCT6796D, but
documented for NCT6797D and NCT6798D and known to be working.

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