diff options
| author | 2020-04-01 12:26:12 +0200 | |
|---|---|---|
| committer | 2020-04-01 12:26:12 +0200 | |
| commit | c9f289701540baeef9ac7c9977d67a7259f404db (patch) | |
| tree | ac3c29d41da02ac735c9a12da78905842fbccd2f /drivers/acpi/button.c | |
| parent | Merge branch 'for-5.6/upstream-fixes' into for-linus (diff) | |
| parent | HID: appleir: Use devm_kzalloc() instead of kzalloc() (diff) | |
| download | wireguard-linux-c9f289701540baeef9ac7c9977d67a7259f404db.tar.xz wireguard-linux-c9f289701540baeef9ac7c9977d67a7259f404db.zip | |
Merge branch 'for-5.7/appleir' into for-linus
- small code cleanups in hid-appleir from Lucas Tanure
Diffstat (limited to 'drivers/acpi/button.c')
| -rw-r--r-- | drivers/acpi/button.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index b758b45737f5..f6925f16c4a2 100644 --- a/drivers/acpi/button.c +++ b/drivers/acpi/button.c @@ -122,6 +122,17 @@ static const struct dmi_system_id dmi_lid_quirks[] = { }, .driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN, }, + { + /* + * Razer Blade Stealth 13 late 2019, notification of the LID device + * only happens on close, not on open and _LID always returns closed. + */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Razer"), + DMI_MATCH(DMI_PRODUCT_NAME, "Razer Blade Stealth 13 Late 2019"), + }, + .driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN, + }, {} }; |
