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:Puma Hsu <pumahsu@google.com> Tested-by:
Daehwan Jung <dh10.jung@samsung.com> Signed-off-by:
Wesley Cheng <quic_wcheng@quicinc.com> Acked-by:
Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20250409194804.3773260-3-quic_wcheng@quicinc.com Signed-off-by:
Greg 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:
Wesley Cheng <quic_wcheng@quicinc.com> Signed-off-by:
Carlos Llamas <cmllamas@google.com>
Loading
Please sign in to comment