]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: intel-thc-hid: Intel-quickspi: switch first interrupt from level to edge detection
authorEven Xu <even.xu@intel.com>
Fri, 19 Sep 2025 07:09:39 +0000 (15:09 +0800)
committerJiri Kosina <jkosina@suse.com>
Tue, 14 Oct 2025 09:28:17 +0000 (11:28 +0200)
commit8fe2cd8ec84b3592b57f40b080f9d5aeebd553af
tree772219a5324763a0442600367b0cc7be2b38c836
parent6c26c055523d915afb8d18e7277848eff66a3085
HID: intel-thc-hid: Intel-quickspi: switch first interrupt from level to edge detection

The original implementation used level detection for the first interrupt
after device reset to avoid potential interrupt line noise and missed
interrupts during the initialization phase. However, this approach
introduced unintended side effects when tested with certain touch panels,
including:
 - Delayed hardware interrupt response
 - Multiple spurious interrupt triggers

Switching back to edge detection for the first interrupt resolves these
issues while maintaining reliable interrupt handling.

Extensive testing across multiple platforms with touch panels from
various vendors confirms this change introduces no regressions.

[jkosina@suse.com: properly capitalize shortlog]
Fixes: 9d8d51735a3a ("HID: intel-thc-hid: intel-quickspi: Add HIDSPI protocol implementation")
Tested-by: Rui Zhang <rui1.zhang@intel.com>
Signed-off-by: Even Xu <even.xu@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c