drm/vc4: crtc: Add null pointer error handling
[platform/kernel/linux-rpi.git] / drivers / acpi / button.c
index ce93a35..985afc6 100644 (file)
@@ -89,6 +89,17 @@ static const struct dmi_system_id lid_blacklst[] = {
                },
                .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,
+       },
        {}
 };