diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2011-08-22 11:42:19 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-09-09 06:01:56 -0400 |
commit | 5a18999ebd880f6fc4264aa5687daad4c4013bce (patch) | |
tree | eba8bbf12b82fc20b9f6d531add586d9db54adb5 /drivers/usb/dwc3/gadget.c | |
parent | a1ae9be5fc137d7e911a77ef408273ff55a53a39 (diff) |
usb: dwc3: gadget: use TRB type 6 for ISOC transfers
Type 6 should be used for the first transfer during an interval. This is
also what the reference driver is using. Type 7 seems to be for following
or additional transfers within the same interval.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
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 a324957c38f0..ebe6bbcfeb67 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c | |||
@@ -632,7 +632,7 @@ static struct dwc3_request *dwc3_prepare_trbs(struct dwc3_ep *dep, | |||
632 | break; | 632 | break; |
633 | 633 | ||
634 | case USB_ENDPOINT_XFER_ISOC: | 634 | case USB_ENDPOINT_XFER_ISOC: |
635 | trb.trbctl = DWC3_TRBCTL_ISOCHRONOUS; | 635 | trb.trbctl = DWC3_TRBCTL_ISOCHRONOUS_FIRST; |
636 | 636 | ||
637 | /* IOC every DWC3_TRB_NUM / 4 so we can refill */ | 637 | /* IOC every DWC3_TRB_NUM / 4 so we can refill */ |
638 | if (!(cur_slot % (DWC3_TRB_NUM / 4))) | 638 | if (!(cur_slot % (DWC3_TRB_NUM / 4))) |