Commit bd97464e authored by Wesley Cheng's avatar Wesley Cheng Committed by Carlos Llamas
Browse files

FROMGIT: usb: host: xhci-mem: Cleanup pending secondary event ring events



As part of xHCI bus suspend, the xHCI is halted.  However, if there are
pending events in the secondary event ring, it is observed that the xHCI
controller stops responding to further commands upon host or device
initiated bus resume.  Iterate through all pending events and update the
dequeue pointer to the beginning of the event ring.

Tested-by: default avatarPuma Hsu <pumahsu@google.com>
Tested-by: default avatarDaehwan Jung <dh10.jung@samsung.com>
Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20250409194804.3773260-3-quic_wcheng@quicinc.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 392112015
(cherry picked from commit 5beb4a53
 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git

 usb-next)
Change-Id: I131254b7ce1752eaaa6caa65a6e65691d9a02928
Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
parent 8b9c57ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment