Loading drivers/usb/dwc3/dwc3-msm.c +0 −6 Original line number Diff line number Diff line Loading @@ -1624,17 +1624,11 @@ static void gsi_configure_ep(struct usb_ep *ep, struct usb_gsi_request *request) dwc3_send_gadget_ep_cmd(dep, DWC3_DEPCMD_SETEPCONFIG, ¶ms); /* Set XferRsc Index for GSI EP */ if (!(dep->flags & DWC3_EP_ENABLED)) { ret = dwc3_gadget_resize_tx_fifos(dwc, dep); if (ret) return; memset(¶ms, 0x00, sizeof(params)); params.param0 = DWC3_DEPXFERCFG_NUM_XFER_RES(1); dwc3_send_gadget_ep_cmd(dep, DWC3_DEPCMD_SETTRANSFRESOURCE, ¶ms); dep->endpoint.desc = desc; dep->endpoint.comp_desc = comp_desc; dep->type = usb_endpoint_type(desc); Loading drivers/usb/dwc3/gadget.c +1 −5 Original line number Diff line number Diff line Loading @@ -622,11 +622,7 @@ static int dwc3_gadget_start_config(struct dwc3_ep *dep) for (i = 0; i < DWC3_ENDPOINTS_NUM; i++) { struct dwc3_ep *dep = dwc->eps[i]; /* * Don't set xfer resource with USB GSI endpoint as it is * performed before enabling USB GSI endpoint. */ if (!dep || dep->gsi) if (!dep) continue; ret = dwc3_gadget_set_xfer_resource(dep); Loading Loading
drivers/usb/dwc3/dwc3-msm.c +0 −6 Original line number Diff line number Diff line Loading @@ -1624,17 +1624,11 @@ static void gsi_configure_ep(struct usb_ep *ep, struct usb_gsi_request *request) dwc3_send_gadget_ep_cmd(dep, DWC3_DEPCMD_SETEPCONFIG, ¶ms); /* Set XferRsc Index for GSI EP */ if (!(dep->flags & DWC3_EP_ENABLED)) { ret = dwc3_gadget_resize_tx_fifos(dwc, dep); if (ret) return; memset(¶ms, 0x00, sizeof(params)); params.param0 = DWC3_DEPXFERCFG_NUM_XFER_RES(1); dwc3_send_gadget_ep_cmd(dep, DWC3_DEPCMD_SETTRANSFRESOURCE, ¶ms); dep->endpoint.desc = desc; dep->endpoint.comp_desc = comp_desc; dep->type = usb_endpoint_type(desc); Loading
drivers/usb/dwc3/gadget.c +1 −5 Original line number Diff line number Diff line Loading @@ -622,11 +622,7 @@ static int dwc3_gadget_start_config(struct dwc3_ep *dep) for (i = 0; i < DWC3_ENDPOINTS_NUM; i++) { struct dwc3_ep *dep = dwc->eps[i]; /* * Don't set xfer resource with USB GSI endpoint as it is * performed before enabling USB GSI endpoint. */ if (!dep || dep->gsi) if (!dep) continue; ret = dwc3_gadget_set_xfer_resource(dep); Loading