aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJohn Youn <johnyoun@synopsys.com>2016-05-19 17:26:17 -0700
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-20 12:32:45 +0300
commit361572b5f7a95b341a92d34b9bf41f71bbdae34d (patch)
tree9acd370326e26392f1bd933e5927923268f89546 /tools/perf/scripts
parentusb: dwc3: gadget: Account for link TRB in TRBs left (diff)
usb: dwc3: gadget: Handle TRB index 0 when full or empty
If the trb->enqueue == trb->dequeue, then it could be full or empty. This could also happen at TRB index 0, so modify the check to handle that condition. At index 0, the previous TRB is the one just before the link TRB. Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions