]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpiolib: acpi: Add a quirk for Acer Nitro V15
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 9 Jun 2025 02:34:08 +0000 (21:34 -0500)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Jun 2025 20:09:24 +0000 (23:09 +0300)
commit9ab29ed505557bd106e292184fa4917955eb8e6e
tree1a14743f3fcd85e5c26670de3fa46c77e5d91444
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
gpiolib: acpi: Add a quirk for Acer Nitro V15

It is reported that on Acer Nitro V15 suspend only works properly if the
keyboard backlight is turned off. In looking through the issue Acer Nitro
V15 has a GPIO (#8) specified in _AEI but it has no matching notify device
in _EVT. The values for GPIO #8 change as keyboard backlight is turned on
and off.

This makes it seem that GPIO #8 is actually supposed to be solely for
keyboard backlight.  Turning off the interrupt for this GPIO fixes the issue.
Add a quirk that does just that.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4169
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Mika Westerberg <westeri@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpiolib-acpi-quirks.c