commit | 7d0a038b130cde7265d6bbc5e148734cb127f341 | [log] [tgz] |
---|---|---|
author | John Youn <johnyoun@synopsys.com> | Thu May 19 17:26:15 2016 -0700 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jun 20 12:32:44 2016 +0300 |
tree | eaa98442860f754080f12d408711a993d2d281b9 | |
parent | 32db3d9437b6bd560daeef82a8325436a4ac3366 [diff] |
usb: dwc3: gadget: Account for link TRB in TRBs left The TRBs left calculation didn't account for the link TRB taking up one spot. If the trb_dequeue < trb_enqueue, then the result includes the link TRB slot so it must be adjusted. Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>