OSDN Git Service

hwmon: (dell-smm) Add Inspiron 3505 to fan type blacklist
authorArmin Wolf <W_Armin@gmx.de>
Fri, 18 Mar 2022 18:34:08 +0000 (19:34 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 18 Mar 2022 22:12:22 +0000 (15:12 -0700)
Sadly, while firmware 1.5 fixed temperature labels on my
Inspiron 3505, it also caused fan type calls to take
ca. 4 seconds with the fan being at full speed.
Fix the resulting delays by adding the model to the
blacklist.

Tested on a Dell Inspiron 3505.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20220318183408.13286-1-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c

index c5939e6..84cb1ed 100644 (file)
@@ -1157,6 +1157,13 @@ static const struct dmi_system_id i8k_blacklist_fan_type_dmi_table[] __initconst
                        DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Inspiron 580 "),
                },
        },
+       {
+               .ident = "Dell Inspiron 3505",
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Inspiron 3505"),
+               },
+       },
        { }
 };