Skip to content

Commit 9ab29ed

Browse files
superm1andy-shev
authored andcommitted
gpiolib: acpi: Add a quirk for Acer Nitro V15
It is reported that on Acer Nitro V15 suspend only works properly if the keyboard backlight is turned off. In looking through the issue Acer Nitro V15 has a GPIO (#8) specified in _AEI but it has no matching notify device in _EVT. The values for GPIO #8 change as keyboard backlight is turned on and off. This makes it seem that GPIO #8 is actually supposed to be solely for keyboard backlight. Turning off the interrupt for this GPIO fixes the issue. Add a quirk that does just that. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4169 Signed-off-by: Mario Limonciello <[email protected]> Acked-by: Mika Westerberg <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent 19272b3 commit 9ab29ed

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

drivers/gpio/gpiolib-acpi-quirks.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,19 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
331331
.ignore_interrupt = "AMDI0030:00@11",
332332
},
333333
},
334+
{
335+
/*
336+
* Wakeup only works when keyboard backlight is turned off
337+
* https://gitlab.freedesktop.org/drm/amd/-/issues/4169
338+
*/
339+
.matches = {
340+
DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
341+
DMI_MATCH(DMI_PRODUCT_FAMILY, "Acer Nitro V 15"),
342+
},
343+
.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
344+
.ignore_interrupt = "AMDI0030:00@8",
345+
},
346+
},
334347
{} /* Terminating entry */
335348
};
336349

0 commit comments

Comments
 (0)