aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohn Youn <[email protected]>2016-05-19 17:26:17 -0700
committerFelipe Balbi <[email protected]>2016-06-20 12:32:45 +0300
commit361572b5f7a95b341a92d34b9bf41f71bbdae34d (patch)
tree9acd370326e26392f1bd933e5927923268f89546 /tools/perf/scripts/python/export-to-postgresql.py
parent7d0a038b130cde7265d6bbc5e148734cb127f341 (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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions