]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (dell-smm-hwmon) Fix index values
authorArmin Wolf <W_Armin@gmx.de>
Thu, 13 May 2021 15:45:46 +0000 (17:45 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 16 May 2021 23:00:55 +0000 (16:00 -0700)
commit4f430e1ee00898117fd8bd1c3231b3b426017951
tree2623ad98f813df82602800b16d4e145351b2936f
parent87d9f8b77b5545016adf3cfc494e6ea6899acca7
hwmon: (dell-smm-hwmon) Fix index values

When support for up to 10 temp sensors and for disabling automatic BIOS
fan control was added, noone updated the index values used for
disallowing fan support and fan type calls.
Fix those values.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20210513154546.12430-1-W_Armin@gmx.de
Fixes: f0418a102df8 ("hwmon: (dell-smm) Support up to 10 temp sensors")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c