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

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

Merge "usb: dwc3: Increase the TxFIFO resize factor"

parents 8372f0f4 5675646e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -230,8 +230,8 @@ int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc, struct dwc3_ep *dep)
			|| usb_endpoint_xfer_isoc(dep->endpoint.desc))
		mult = 3;

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

+4 −4
Original line number Diff line number Diff line
@@ -473,7 +473,7 @@ static struct usb_ss_ep_comp_descriptor rmnet_gsi_ss_in_comp_desc = {
	.bDescriptorType =	USB_DT_SS_ENDPOINT_COMP,

	/* the following 2 values can be tweaked if necessary */
	.bMaxBurst =		2,
	.bMaxBurst =		6,
	/* .bmAttributes =	0, */
};

@@ -728,7 +728,7 @@ static struct usb_ss_ep_comp_descriptor rndis_gsi_ss_bulk_comp_desc = {
	.bDescriptorType =	USB_DT_SS_ENDPOINT_COMP,

	/* the following 2 values can be tweaked if necessary */
	.bMaxBurst =		2,
	.bMaxBurst =		6,
	/* .bmAttributes =	0, */
};

@@ -1014,7 +1014,7 @@ static struct usb_ss_ep_comp_descriptor mbim_gsi_ss_in_comp_desc = {
	.bDescriptorType =      USB_DT_SS_ENDPOINT_COMP,

	/* the following 2 values can be tweaked if necessary */
	.bMaxBurst =         2,
	.bMaxBurst =         6,
	/* .bmAttributes =      0, */
};

@@ -1270,7 +1270,7 @@ static struct usb_ss_ep_comp_descriptor ecm_gsi_ss_in_comp_desc = {
	.bDescriptorType =	USB_DT_SS_ENDPOINT_COMP,

	/* the following 2 values can be tweaked if necessary */
	.bMaxBurst =         2,
	.bMaxBurst =         6,
	/* .bmAttributes =      0, */
};