Loading drivers/usb/dwc3/gadget.c +2 −1 Original line number Diff line number Diff line Loading @@ -236,7 +236,8 @@ int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc) * use mult as 3 for GSI IN endpoint always irrespective * USB speed. */ if (dep->endpoint.ep_type == EP_TYPE_GSI) if (dep->endpoint.ep_type == EP_TYPE_GSI || dep->endpoint.endless) mult = 3; if (!(dep->flags & DWC3_EP_ENABLED)) { Loading include/linux/usb/gadget.h +3 −0 Original line number Diff line number Diff line Loading @@ -300,6 +300,8 @@ struct usb_ep_caps { * @ep_type: Used to specify type of EP eg. normal vs h/w accelerated. * @ep_num: Used EP number * @ep_intr_num: Interrupter number for EP. * @endless: In case where endless transfer is being initiated, this is set * to disable usb event interrupt for few events. * * the bus controller driver lists all the general purpose endpoints in * gadget->ep_list. the control endpoint (gadget->ep0) is not in that list, Loading @@ -326,6 +328,7 @@ struct usb_ep { enum ep_type ep_type; u8 ep_num; u8 ep_intr_num; bool endless; }; /*-------------------------------------------------------------------------*/ Loading Loading
drivers/usb/dwc3/gadget.c +2 −1 Original line number Diff line number Diff line Loading @@ -236,7 +236,8 @@ int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc) * use mult as 3 for GSI IN endpoint always irrespective * USB speed. */ if (dep->endpoint.ep_type == EP_TYPE_GSI) if (dep->endpoint.ep_type == EP_TYPE_GSI || dep->endpoint.endless) mult = 3; if (!(dep->flags & DWC3_EP_ENABLED)) { Loading
include/linux/usb/gadget.h +3 −0 Original line number Diff line number Diff line Loading @@ -300,6 +300,8 @@ struct usb_ep_caps { * @ep_type: Used to specify type of EP eg. normal vs h/w accelerated. * @ep_num: Used EP number * @ep_intr_num: Interrupter number for EP. * @endless: In case where endless transfer is being initiated, this is set * to disable usb event interrupt for few events. * * the bus controller driver lists all the general purpose endpoints in * gadget->ep_list. the control endpoint (gadget->ep0) is not in that list, Loading @@ -326,6 +328,7 @@ struct usb_ep { enum ep_type ep_type; u8 ep_num; u8 ep_intr_num; bool endless; }; /*-------------------------------------------------------------------------*/ Loading