Skip to content

Commit 8743d66

Browse files
superm1Bartosz Golaszewski
authored andcommitted
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>
1 parent 615279d commit 8743d66

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

drivers/gpio/gpiolib-acpi.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,6 +1689,20 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
16891689
.ignore_wake = "PNP0C50:00@8",
16901690
},
16911691
},
1692+
{
1693+
/*
1694+
* Spurious wakeups from GPIO 11
1695+
* Found in BIOS 1.04
1696+
* https://gitlab.freedesktop.org/drm/amd/-/issues/3954
1697+
*/
1698+
.matches = {
1699+
DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
1700+
DMI_MATCH(DMI_PRODUCT_FAMILY, "Acer Nitro V 14"),
1701+
},
1702+
.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
1703+
.ignore_interrupt = "AMDI0030:00@11",
1704+
},
1705+
},
16921706
{} /* Terminating entry */
16931707
};
16941708

0 commit comments

Comments
 (0)