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

Commit 79acd848 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "usb: dwc3: fix TRB completion when multiple TRBs are started""

parents 0b57efd5 9826c216
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -479,7 +479,7 @@ static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep,
		dep->stream_capable = true;
	}

	if (!usb_endpoint_xfer_control(desc))
	if (usb_endpoint_xfer_isoc(desc))
		params.param1 |= DWC3_DEPCFG_XFER_IN_PROGRESS_EN;

	/*
@@ -2593,6 +2593,12 @@ static void dwc3_endpoint_interrupt(struct dwc3 *dwc,
		break;
	case DWC3_DEPEVT_XFERINPROGRESS:
		dep->dbg_ep_events.xferinprogress++;
		if (!usb_endpoint_xfer_isoc(dep->endpoint.desc)) {
			dev_dbg(dwc->dev, "%s is not an Isochronous endpoint\n",
					dep->name);
			return;
		}

		dwc3_endpoint_transfer_complete(dwc, dep, event);
		break;
	case DWC3_DEPEVT_XFERNOTREADY: