[PATCH 0/2] Fix a spurious wakeup regression

From: Mario Limonciello
Date: Mon Jan 16 2023 - 14:37:33 EST


commit 1796f808e4bb ("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.

This had an unintended consequence on a Clevo NL50RU where the system
would wakeup immediately after suspending the system.

Reviewing the schematics and ACPI tables this appears to be a bug in
the ACPI tables, but it was exposed by that change.

To avoid the system waking up immediately after suspend disable wakeups
by default on this system.

Mario Limonciello (2):
gpiolib: acpi: Allow ignoring wake capability on pins that aren't in
_AEI
gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xRU

drivers/gpio/gpiolib-acpi.c | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)

--
2.34.1