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

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

Merge "usb: dwc3: Change TXFIFO size for GSI IN EP based on controller"

parents 8cf191ec 522b089b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -231,7 +231,8 @@ int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc, struct dwc3_ep *dep)
		mult = 3;

	if ((dep->endpoint.maxburst > 2) &&
			dep->endpoint.ep_type == EP_TYPE_GSI)
			dep->endpoint.ep_type == EP_TYPE_GSI
			&& dwc3_is_usb31(dwc))
		mult = 6;

	tmp = ((max_packet + mdwidth) * mult) + mdwidth;