]> git.itanic.dy.fi Git - linux-stable/commit
platform/x86: intel: int0002_vgpio: Pass IRQF_ONESHOT to request_irq()
authorHans de Goede <hdegoede@redhat.com>
Sat, 10 Feb 2024 11:01:49 +0000 (12:01 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 19 Feb 2024 11:41:05 +0000 (12:41 +0100)
commit8f812373d195810c68e1beeabe2317f8c6a31012
treef831e8a6aafcbfa79c9deb5c87766a9569620670
parent6f7d0f5fd8e440c3446560100ac4ff9a55eec340
platform/x86: intel: int0002_vgpio: Pass IRQF_ONESHOT to request_irq()

Since commit 7a36b901a6eb ("ACPI: OSL: Use a threaded interrupt handler
for SCI") the ACPI OSL code passes IRQF_ONESHOT when requesting the SCI.

Since the INT0002 GPIO is typically shared with the ACPI SCI the INT0002
driver must pass the same flags.

This fixes the INT0002 driver failing to probe due to following error +
as well as removing the backtrace that follows this error:

"genirq: Flags mismatch irq 9. 00000084 (INT0002) vs. 00002080 (acpi)"

Fixes: 7a36b901a6eb ("ACPI: OSL: Use a threaded interrupt handler for SCI")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240210110149.12803-1-hdegoede@redhat.com
drivers/platform/x86/intel/int0002_vgpio.c