Commit d513320f authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: gadget: don't issue End Transfer if we have started reqs



In case we have many started requests and one of them in the middle is
completed with Missed Isoc, let's not End Transfer as that would
result in us loosing (possibly) many more intervals.

Instead, let's allow the controller to go through its list of started
requests.

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent e1d542f7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2398,6 +2398,8 @@ static void dwc3_gadget_endpoint_transfer_in_progress(struct dwc3_ep *dep,

	if (event->status & DEPEVT_STATUS_MISSED_ISOC) {
		status = -EXDEV;

		if (list_empty(&dep->started_list))
			stop = true;
	}