Revert "usb: xhci: Fix Short Packet handling rework ignoring errors"
This reverts commit 1b7647efad which is
commit 9e3a28793d2fde7a709e814d2504652eaba6ae98 upstream.
It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.
Bug: 161946584
Change-Id: I7560c394afc2360914986129b80977d2fa5abbf7
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -2927,7 +2927,7 @@ static int handle_tx_event(struct xhci_hcd *xhci,
|
||||
if (xhci_spurious_success_tx_event(xhci, ep_ring)) {
|
||||
xhci_dbg(xhci, "Spurious event dma %pad, comp_code %u after %u\n",
|
||||
&ep_trb_dma, trb_comp_code, ep_ring->old_trb_comp_code);
|
||||
ep_ring->old_trb_comp_code = 0;
|
||||
ep_ring->old_trb_comp_code = trb_comp_code;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user