]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit55066354285b36ee09dc50e2527f43a97c567177
tree8e2c0496334dd0d2a569ba9863ea03b5a0b9930c
parentf6de298806d9cbc63a4907bca34a06162b9d7dce
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: 81820059a428 ("hwmon: (nct6775) Add support for NCT6796D")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c