]> 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)
commit47f0736c9afcfde657793acaee707340583873ff
tree8e2c0496334dd0d2a569ba9863ea03b5a0b9930c
parente8eaf08521d4e82d7fa52ba349789bd13805028b
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: a6d541b57c0f ("hwmon: (nct6775) Add support for NCT6796D")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c