]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpiolib: acpi: Add a quirk for Acer Nitro ANV14
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 11 Feb 2025 20:32:01 +0000 (14:32 -0600)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 12 Feb 2025 09:06:47 +0000 (10:06 +0100)
commit8743d66979e494c5378563e6b5a32e913380abd8
tree0fd8df474219f5eeb8626910b86c363ccab66428
parent615279db222c3ac56d5c93716efd72b843295c1f
gpiolib: acpi: Add a quirk for Acer Nitro ANV14

Spurious immediate wake up events are reported on Acer Nitro ANV14. GPIO 11 is
specified as an edge triggered input and also a wake source but this pin is
supposed to be an output pin for an LED, so it's effectively floating.

Block the interrupt from getting set up for this GPIO on this device.

Cc: stable@vger.kernel.org
Reported-by: Delgan <delgan.py@gmail.com>
Tested-by: Delgan <delgan.py@gmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3954
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Mika Westerberg <westeri@kernel.org>
Link: https://lore.kernel.org/r/20250211203222.761206-1-superm1@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-acpi.c