Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2703c223 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3: Avoid processing of TRB if HWO bit is set"

parents 7c4e883e 3d1d022e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2807,6 +2807,9 @@ static int dwc3_cleanup_done_reqs(struct dwc3 *dwc, struct dwc3_ep *dep,
		int chain;

		req = next_request(&dep->started_list);
		if (req->trb->ctrl & DWC3_TRB_CTRL_HWO)
			return 0;

		length = req->request.length;
		chain = req->num_pending_sgs > 0;
		if (chain) {