mbox series

[0/2] Fix a spurious wakeup regression

Message ID 20230116193702.31356-1-mario.limonciello@amd.com
Headers show
Series Fix a spurious wakeup regression | expand

Message

Mario Limonciello Jan. 16, 2023, 7:37 p.m. UTC
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(-)