aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2021-01-29 15:00:41 +0200
committerGreg Kroah-Hartman <[email protected]>2021-01-29 14:16:51 +0100
commitd1dbfb942c33bff563af7222418cff3f01c9fbc9 (patch)
treeff99315f3ad6e96888a2cbbdb143c7880e6cc153 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent1174d44906d517ddb4f98bbe58a44d4554d0ef90 (diff)
xhci: introduce a new move_dequeue_past_td() function to replace old code.
Replace xhci_find_new_dequeue_state() and xhci_queue_new_dequeue_state() functions with one combined function. These function were always called after each other, and had a lot of extra code just to pass the newly found dequeue state from the first function to the other. The new function also returns error in case there is a failure to queue the new dequeue state. This way the caller can decide on recovery measures to handle it. Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions