Skip to content

Commit a69982c

Browse files
tuxedo-wseandy-shev
authored andcommitted
gpiolib: acpi: Add a ignore wakeup quirk for Clevo NH5xAx
The commit 1796f80 ("HID: i2c-hid: acpi: Stop setting wakeup_capable") changed the policy such that I2C touchpads may be able to wake up the system by default if the system is configured as such. However for some devices there is a bug, that is causing the touchpad to instantly wake up the device again once it gets deactivated. The root cause is still under investigation (see Link tag). To workaround this problem for the time being, introduce a quirk for this model that will prevent the wakeup capability for being set for GPIO 16. Fixes: 1796f80 ("HID: i2c-hid: acpi: Stop setting wakeup_capable") Link: https://lore.kernel.org/linux-acpi/[email protected]/ Signed-off-by: Werner Sembach <[email protected]> Cc: <[email protected]> # v6.1+ Signed-off-by: Andy Shevchenko <[email protected]>
1 parent b61494d commit a69982c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/gpio/gpiolib-acpi.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,6 +1637,18 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
16371637
.ignore_wake = "ELAN0415:00@9",
16381638
},
16391639
},
1640+
{
1641+
/*
1642+
* Spurious wakeups from TP_ATTN# pin
1643+
* Found in BIOS 1.7.7
1644+
*/
1645+
.matches = {
1646+
DMI_MATCH(DMI_BOARD_NAME, "NH5xAx"),
1647+
},
1648+
.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
1649+
.ignore_wake = "SYNA1202:00@16",
1650+
},
1651+
},
16401652
{} /* Terminating entry */
16411653
};
16421654

0 commit comments

Comments
 (0)