diff options
| author | John Youn <johnyoun@synopsys.com> | 2016-05-20 03:26:17 +0300 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-20 12:32:45 +0300 |
| commit | 361572b5f7a95b341a92d34b9bf41f71bbdae34d (patch) | |
| tree | 9acd370326e26392f1bd933e5927923268f89546 /tools/perf/scripts/python/netdev-times.py | |
| parent | 7d0a038b130cde7265d6bbc5e148734cb127f341 (diff) | |
| download | linux-361572b5f7a95b341a92d34b9bf41f71bbdae34d.tar.xz | |
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/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
