diff options
author | Felipe Balbi <balbi@ti.com> | 2011-09-30 10:58:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-04 10:25:54 -0700 |
commit | a4af9008bb69f49df3abf816d48e224aca810af4 (patch) | |
tree | 89a945d0f6dd2124020fcbd56dde02cd72d5908b /drivers | |
parent | c439ef87c33a1df30f528cb152151465c2529cac (diff) |
usb: dwc3: gadget: add support for Bursts
We already have the value from gadget drivers,
just need to pass it to our controller.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index ee5c1a519713..524ff91bf393 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -259,6 +259,7 @@ static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep, params.param0.depcfg.ep_type = usb_endpoint_type(desc); params.param0.depcfg.max_packet_size = usb_endpoint_maxp(desc); + params.param0.depcfg.burst_size = dep->endpoint.maxburst; params.param1.depcfg.xfer_complete_enable = true; params.param1.depcfg.xfer_not_ready_enable = true; |