]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (dell-smm-hwmon) Fix fan mutliplier detection for 3rd fan
authorArmin Wolf <W_Armin@gmx.de>
Wed, 28 Jul 2021 22:15:57 +0000 (00:15 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 17 Aug 2021 21:54:26 +0000 (14:54 -0700)
commit2e174a83813484216623e5add7e3ea4665abf35b
tree748c1f20eb4fc909ebb4d0fbba06cd22b190ec1f
parentfe60faee07b83593b3ed4843c39851bc7e381363
hwmon: (dell-smm-hwmon) Fix fan mutliplier detection for 3rd fan

There are up to three fans, but the detection omits the 3rd one.
Fix that by using DELL_SMM_NO_FANS.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Fixes: af14e22fd583 (hwmon: (dell-smm) Detect fan with index=2)
Link: https://lore.kernel.org/r/20210728221557.8891-7-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c