Skip to content

Commit 927d89e

Browse files
Wer-Wolfgroeck
authored andcommitted
hwmon: (dell-smm) Add comment explaining usage of i8k_config_data[]
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 <[email protected]> Reviewed-by: Pali Rohár <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent e64325e commit 927d89e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/hwmon/dell-smm-hwmon.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,11 @@ enum i8k_configs {
996996
DELL_XPS,
997997
};
998998

999+
/*
1000+
* Only use for machines which need some special configuration
1001+
* in order to work correctly (e.g. if autoconfig fails on this machines).
1002+
*/
1003+
9991004
static const struct i8k_config_data i8k_config_data[] __initconst = {
10001005
[DELL_LATITUDE_D520] = {
10011006
.fan_mult = 1,

0 commit comments

Comments
 (0)