Skip to content

Commit 805c74e

Browse files
superm1Bartosz Golaszewski
authored andcommitted
gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04
Spurious wakeups are reported on the GPD G1619-04 which can be absolved by programming the GPIO to ignore wakeups. Cc: [email protected] Reported-and-tested-by: George Melikov <[email protected]> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3073 Signed-off-by: Mario Limonciello <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 6613476 commit 805c74e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

drivers/gpio/gpiolib-acpi.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,6 +1651,20 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
16511651
.ignore_interrupt = "INT33FC:00@3",
16521652
},
16531653
},
1654+
{
1655+
/*
1656+
* Spurious wakeups from TP_ATTN# pin
1657+
* Found in BIOS 0.35
1658+
* https://gitlab.freedesktop.org/drm/amd/-/issues/3073
1659+
*/
1660+
.matches = {
1661+
DMI_MATCH(DMI_SYS_VENDOR, "GPD"),
1662+
DMI_MATCH(DMI_PRODUCT_NAME, "G1619-04"),
1663+
},
1664+
.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
1665+
.ignore_wake = "PNP0C50:00@8",
1666+
},
1667+
},
16541668
{} /* Terminating entry */
16551669
};
16561670

0 commit comments

Comments
 (0)