summaryrefslogtreecommitdiffstats
path: root/fs/romfs
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-01-21 07:48:11 -0600
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-01-23 16:02:13 +0100
commitd63f11c02b8d3e54bdb65d8c309f73b7f474aec4 (patch)
treea27d1ac09d00b745dd543174caa1f37e47738b7d /fs/romfs
parent2241ab53cbb5cdb08a6b2d4688feb13971058f65 (diff)
downloadlinux-d63f11c02b8d3e54bdb65d8c309f73b7f474aec4.tar.bz2
gpiolib-acpi: Don't set GPIOs for wakeup in S3 mode
commit 1796f808e4bb ("HID: i2c-hid: acpi: Stop setting wakeup_capable") adjusted the policy to enable wakeup by default if the ACPI tables indicated that a device was wake capable. It was reported however that this broke suspend on at least two System76 systems in S3 mode and two Lenovo Gen2a systems, but only with S3. When the machines are set to s2idle, wakeup behaves properly. Configuring the GPIOs for wakeup with S3 doesn't work properly, so only set it when the system supports low power idle. Fixes: 1796f808e4bb ("HID: i2c-hid: acpi: Stop setting wakeup_capable") Fixes: b38f2d5d9615c ("i2c: acpi: Use ACPI wake capability bit to set wake_irq") Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2357 Link: https://bugzilla.redhat.com/show_bug.cgi?id=2162013 Reported-by: Nathan Smythe <ncsmythe@scruboak.org> Tested-by: Nathan Smythe <ncsmythe@scruboak.org> Suggested-by: Raul Rangel <rrangel@chromium.org> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions