瀏覽代碼

ideapad-laptop: Add another DMI entry for Yoga 900

This particular laptop has its motherboard replaced and after that, even
with the latest BIOS, some DMI identification strings have become
"INVALID". This includes DMI_PRODUCT_VERSION which results Wifi being
blocked.

It seems that DMI_BOARD_NAME is still valid so use that as an
alternative for Lenovo Yoga 900.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Mika Westerberg 8 年之前
父節點
當前提交
446647d4b9
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      drivers/platform/x86/ideapad-laptop.c

+ 7 - 0
drivers/platform/x86/ideapad-laptop.c

@@ -933,6 +933,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 900"),
 			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 900"),
 		},
 		},
 	},
 	},
+	{
+		.ident = "Lenovo Yoga 900",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_BOARD_NAME, "VIUU4"),
+		},
+	},
 	{
 	{
 		.ident = "Lenovo YOGA 910-13IKB",
 		.ident = "Lenovo YOGA 910-13IKB",
 		.matches = {
 		.matches = {