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

Commit 2e69e042 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dwc3: gadget: Don't set DWC3_EP_END_TRANSFER_PENDING with GSI endpoint"

parents 0fe133fd 4a3fe6db
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3089,6 +3089,7 @@ void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force)
	dep->flags &= ~DWC3_EP_BUSY;

	if (dwc3_is_usb31(dwc) || dwc->revision < DWC3_REVISION_310A) {
		if (dep->endpoint.ep_type != EP_TYPE_GSI)
			dep->flags |= DWC3_EP_END_TRANSFER_PENDING;
		udelay(100);
	}