Loading drivers/usb/dwc3/gadget.c +2 −2 Original line number Diff line number Diff line Loading @@ -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; Loading drivers/usb/gadget/function/f_gsi.h +4 −4 Original line number Diff line number Diff line Loading @@ -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, */ }; Loading Loading @@ -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, */ }; Loading Loading @@ -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, */ }; Loading Loading @@ -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, */ }; Loading Loading
drivers/usb/dwc3/gadget.c +2 −2 Original line number Diff line number Diff line Loading @@ -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; Loading
drivers/usb/gadget/function/f_gsi.h +4 −4 Original line number Diff line number Diff line Loading @@ -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, */ }; Loading Loading @@ -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, */ }; Loading Loading @@ -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, */ }; Loading Loading @@ -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, */ }; Loading