diff options
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index ec70df7aba17..4f3e8811daef 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c | |||
@@ -414,7 +414,7 @@ static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep, | |||
414 | 414 | ||
415 | params.param0 = DWC3_DEPCFG_EP_TYPE(usb_endpoint_type(desc)) | 415 | params.param0 = DWC3_DEPCFG_EP_TYPE(usb_endpoint_type(desc)) |
416 | | DWC3_DEPCFG_MAX_PACKET_SIZE(usb_endpoint_maxp(desc)) | 416 | | DWC3_DEPCFG_MAX_PACKET_SIZE(usb_endpoint_maxp(desc)) |
417 | | DWC3_DEPCFG_BURST_SIZE(dep->endpoint.maxburst); | 417 | | DWC3_DEPCFG_BURST_SIZE(dep->endpoint.maxburst - 1); |
418 | 418 | ||
419 | params.param1 = DWC3_DEPCFG_XFER_COMPLETE_EN | 419 | params.param1 = DWC3_DEPCFG_XFER_COMPLETE_EN |
420 | | DWC3_DEPCFG_XFER_NOT_READY_EN; | 420 | | DWC3_DEPCFG_XFER_NOT_READY_EN; |