summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2018-07-13 20:50:47 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-07-19 16:42:15 +0200
commit2c4d6baf1bc4f7729773ffcee9ba2a9781578633 (patch)
tree8cf07ca046425586ec011b3503c074c852d93d43 /drivers/acpi
parent9d3cce1e8b8561fed5f383d22a4d6949db4eadbe (diff)
downloadlinux-2c4d6baf1bc4f7729773ffcee9ba2a9781578633.tar.gz
linux-2c4d6baf1bc4f7729773ffcee9ba2a9781578633.tar.bz2
linux-2c4d6baf1bc4f7729773ffcee9ba2a9781578633.zip
ACPI / EC: Use ec_no_wakeup on more Thinkpad X1 Carbon 6th systems
The ec_no_wakeup matcher added for Thinkpad X1 Carbon 6th gen systems beyond matched only a single DMI model (20KGS3JF01), that didn't cover my laptop (20KH002JUS). Change to match based on DMI product family to cover all X1 6th gen systems. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 442a9e24f439..917f77f4cb55 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -2042,7 +2042,7 @@ static const struct dmi_system_id acpi_ec_no_wakeup[] = {
.ident = "Thinkpad X1 Carbon 6th",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
- DMI_MATCH(DMI_PRODUCT_NAME, "20KGS3JF01"),
+ DMI_MATCH(DMI_PRODUCT_FAMILY, "Thinkpad X1 Carbon 6th"),
},
},
{ },