From: Armin Wolf Date: Sun, 20 Apr 2025 22:33:34 +0000 (+0200) Subject: hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist X-Git-Tag: v6.16-rc1~66^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e799657a8aac1d974c90a295dd88b1d95697d18d;p=thirdparty%2Fkernel%2Flinux.git hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist A user reported that the driver works on the OptiPlex 7050. Add this machine to the DMI whitelist. Closes: https://github.com/Wer-Wolf/i8kutils/issues/12 Signed-off-by: Armin Wolf Acked-by: Pali Rohár Link: https://lore.kernel.org/r/20250420223334.12920-1-W_Armin@gmx.de Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c index 79e5606e6d2f8..1e2c8e2840015 100644 --- a/drivers/hwmon/dell-smm-hwmon.c +++ b/drivers/hwmon/dell-smm-hwmon.c @@ -1273,6 +1273,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7060"), }, }, + { + .ident = "Dell OptiPlex 7050", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7050"), + }, + }, { .ident = "Dell Precision", .matches = {