Skip to content

Commit

Permalink
hwmon: (dell-smm) Add comment explaining usage of i8k_config_data[]
Browse files Browse the repository at this point in the history
i8k_config_data[] should only be used for applying device specific
quirks in case autoconfig does not work properly on certain
devices.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20211021190531.17379-5-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
  • Loading branch information
Armin Wolf authored and Guenter Roeck committed Oct 21, 2021
1 parent e64325e commit 927d89e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/hwmon/dell-smm-hwmon.c
Original file line number Diff line number Diff line change
@@ -996,6 +996,11 @@ enum i8k_configs {
DELL_XPS,
};

/*
* Only use for machines which need some special configuration
* in order to work correctly (e.g. if autoconfig fails on this machines).
*/

static const struct i8k_config_data i8k_config_data[] __initconst = {
[DELL_LATITUDE_D520] = {
.fan_mult = 1,

0 comments on commit 927d89e

Please sign in to comment.