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

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

Merge "USB: dwc3: Add support for ISOC high bandwidth transfer in HS mode"

parents 3e5c5758 9e0838c6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -831,6 +831,7 @@ static void dwc3_prepare_one_trb(struct dwc3_ep *dep,
	struct dwc3_trb		*trb;
	bool			zlp_appended = false;
	unsigned		rlen;
	int			isoc_maxp;

	dev_vdbg(dwc->dev, "%s: req %pK dma %08llx length %d%s%s\n",
			dep->name, req, (unsigned long long) dma,
@@ -864,6 +865,8 @@ update_trb:
		break;

	case USB_ENDPOINT_XFER_ISOC:
		isoc_maxp = usb_endpoint_maxp(dep->endpoint.desc);
		trb->size |= DWC3_TRB_SIZE_PCM1(isoc_maxp >> 11);
		if (!node)
			trb->ctrl = DWC3_TRBCTL_ISOCHRONOUS_FIRST;
		else