diff options
author | Peter Chen <[email protected]> | 2020-09-10 17:11:27 +0800 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2020-10-02 09:57:45 +0300 |
commit | 249f0a25e8becebe351e0f70e00fc84f47d6584d (patch) | |
tree | 10bd09c0ba5c3c0b10e169caa295ce34fde94202 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 87e1dcd48970ea1cf2d2ce368eb70a46c2eff3ee (diff) |
usb: cdns3: gadget: handle sg list use case at completion correctly
- Judge each TRB has been handled at cdns3_trb_handled, since
the DMA pointer may be at the middle of the TD, we can't consider
this TD has finished at that time.
- Calculate req->actual according to finished TRBs.
- Handle short transfer for sg list use case correctly. When the
short transfer occurs, we check OUT_SMM at TRB to see if it is
the last TRB.
Signed-off-by: Peter Chen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions