]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (nct6775) Fix fan6 detection for NCT6793D
authorGuenter Roeck <linux@roeck-us.net>
Mon, 28 Jan 2019 00:08:00 +0000 (16:08 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Jan 2019 02:55:49 +0000 (18:55 -0800)
commit1af6e80335d30227ef3b17f16ebada21598baf54
treea7aab888c59e5557ddfd5de3b44ca40f35a540bb
parent2e63039be370d38b9714808dce41860dfe427301
hwmon: (nct6775) Fix fan6 detection for NCT6793D

Commit 59e8512381bb ("hwmon: (nct6775) Separate fan/pwm configuration
detection for NCT6793D") accidentally removed part of the code detecting
if fan6 is enabled or not. As result, fan6 is no longer detected on Asus
PRIME Z370-A. Restore the missing detection code.

Fixes: 59e8512381bb ("hwmon: (nct6775) Separate fan/pwm configuration detection for NCT6793D")
Reported-by: Chris Siebenmann <cks@cs.toronto.edu>
Cc: Chris Siebenmann <cks@cs.toronto.edu>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c