[PATCH v3 0/2] HID: spi-hid: propagate reset GPIO errors

From: Jizhou Tong

Date: Thu Nov 05 2026 - 14:11:19 EST


Hi Jingyuan,

These two fixes apply on top of your v7 series [1]. Initialization still
ignores a failed reset assertion. Resume also ignores assertion and
deassertion failures, so it can report success with the device held in
reset. Propagate these errors while preserving the IRQ balance and using
the existing recovery worker after a deassertion failure.

The resume handshake timeout fix from my v2 is already in v7 and is not
repeated here. The second patch now addresses only the remaining GPIO
error paths.

The driver is in the downstream SL7 kernel I have been using with working
touchpad input and suspend/resume. Fault injection covers initialization,
assertion and deassertion errors, IRQ balance, and recovery scheduling.
The core, ACPI and OF modules build with W=1 against the prepared SL7
kernel build. Hardware testing used the complete downstream SL7 stack,
including the QSPI transport and controller changes.

Changes since v2:
- Rebase on v7 and drop the already-incorporated handshake fix.
- Check reset GPIO errors on resume and retain v7's recovery behavior.

[1] https://lore.kernel.org/all/20261024-send-upstream-v7-0-abad13174b43@xxxxxxxxxxxx/

Jizhou Tong (2):
HID: spi-hid: propagate reset assertion errors during initialization
HID: spi-hid: propagate reset GPIO errors from resume

drivers/hid/spi-hid/spi-hid-core.c | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)


base-commit: ee9c669f9bf5fd2c24206746ded9382fe810df89
prerequisite-patch-id: b401890d766019f0677a572f18bb389cd8827721
prerequisite-patch-id: beaf91cb29f3a735559a3251092ac0ac17810b10
prerequisite-patch-id: e7eba48cebafeee52eae204c950d7c4f8386f0bd
prerequisite-patch-id: 41ca1ba441d0246d5bf6a4befb26b1c65a596b95
prerequisite-patch-id: 84023dc857708fbb763a889ac060acc7d4387264
prerequisite-patch-id: f9b381e783ceb6b608c27e3b6299c591ac9be769
prerequisite-patch-id: ae5c9959b2923b37a5a650f04e93c662b9e10592
prerequisite-patch-id: 44a8965a58c0bfb0d5cf758790f407d136451956
prerequisite-patch-id: 207558a5e93c1074b4dc1b568d70d62a9ffe542b
prerequisite-patch-id: 59919db0f4e3fbaa1908a0b311fcd53837c5aac3
prerequisite-patch-id: b3706d31329e8a5829627fd0eb795c24aeb389cd