]> git.ipfire.org Git - thirdparty/linux.git/commit
nfc: nxp-nci: i2c: use rising-edge IRQ on ACPI systems
authorCarl Lee <carl.lee@amd.com>
Sat, 16 May 2026 11:55:18 +0000 (19:55 +0800)
committerDavid Heidelberg <david@ixit.cz>
Mon, 18 May 2026 16:30:36 +0000 (18:30 +0200)
commitf23bf992d65a42007c517b060ca35cebdea3525a
tree37695c34c570894a9751ed5418588e361dced459
parentf040e590c035bfd9553fe79ee9585caf1b14d67b
nfc: nxp-nci: i2c: use rising-edge IRQ on ACPI systems

Some ACPI-based platforms report incorrect IRQ trigger types (e.g.
IRQF_TRIGGER_HIGH), which can lead to interrupt storms.

Use the historically working rising-edge trigger on ACPI systems to
avoid this regression.

Device Tree-based systems continue to use the firmware-provided
trigger type.

Fixes: 57be33f85e36 ("nfc: nxp-nci: remove interrupt trigger type")
Signed-off-by: Carl Lee <carl.lee@amd.com>
Tested-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Tested-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Link: https://patch.msgid.link/20260516-nfc-nxp-nci-i2c-restore-irq-trigger-fallback-v3-1-37ba4b6e9086@amd.com
Signed-off-by: David Heidelberg <david@ixit.cz>
drivers/nfc/nxp-nci/i2c.c