Mario Limonciello 4cb786180d gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xRU
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.

However on Clevo NL5xRU there is a mistake in the ACPI tables that the
TP_ATTN# signal connected to GPIO 9 is configured as ActiveLow and level
triggered but connected to a pull up. As soon as the system suspends the
touchpad loses power and then the system wakes up.

To avoid this problem, introduce a quirk for this model that will prevent
the wakeup capability for being set for GPIO 9.

Fixes: 1796f808e4bb ("HID: i2c-hid: acpi: Stop setting wakeup_capable")
Reported-by: Werner Sembach <wse@tuxedocomputers.com>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1722#note_1720627
Co-developed-by: Werner Sembach <wse@tuxedocomputers.com>
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2023-01-18 15:29:16 +01:00
..
2022-10-08 09:46:29 -07:00
2022-10-08 09:46:29 -07:00
2022-01-11 12:31:35 -08:00
2021-04-14 10:19:22 +01:00
2022-08-04 18:34:05 -07:00
2022-10-26 14:52:02 +02:00
2021-05-05 16:07:41 +02:00
2022-10-26 14:52:01 +02:00
2022-10-08 09:46:29 -07:00
2022-06-23 23:18:13 +02:00
2022-06-21 18:01:11 +03:00
2019-11-07 09:27:48 +01:00
2022-06-06 14:09:16 +03:00
2021-11-08 11:55:21 -08:00
2022-01-14 18:50:52 -05:00
2022-10-08 09:46:29 -07:00
2022-08-04 18:34:05 -07:00
2019-12-09 10:40:18 +01:00
2022-12-15 09:45:51 -08:00
2022-12-15 09:45:51 -08:00
2022-12-15 09:45:51 -08:00
2022-10-24 12:30:26 +03:00