Re: [RFC PATCH] usb: host: xhci: Release spinlock before xhci_handshake in command ring abort

From: Mathias Nyman

Date: Fri Nov 07 2025 - 08:11:27 EST




A suspended host could also return 0xffffffff on register read, which in turn would cause
xhci_handshake(reg, CMD_RING_RUNNING, 0, 5sec) to run for full five seconds unsuccessfully
waiting for the  "command ring running" bit to clear.


Forgot that xhci_handshake() does check for 0xffffffff, and will return -ENODEV,
so this is not part of the issue

-Mathias