]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/hwmon/dell-smm-hwmon.c
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)
commit2757269a7defe96e871be795b680b602efb877ce
tree748c1f20eb4fc909ebb4d0fbba06cd22b190ec1f
parentdeeba244b0feab6180b77fe98f2c19eb89163428
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: 747bc8b063ae (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