diff options
author | 2020-09-10 17:11:27 +0800 | |
---|---|---|
committer | 2020-10-02 09:57:45 +0300 | |
commit | 249f0a25e8becebe351e0f70e00fc84f47d6584d (patch) | |
tree | 10bd09c0ba5c3c0b10e169caa295ce34fde94202 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: cdns3: gadget: add CHAIN and ISP bit for sg list use case (diff) | |
download | wireguard-linux-249f0a25e8becebe351e0f70e00fc84f47d6584d.tar.xz wireguard-linux-249f0a25e8becebe351e0f70e00fc84f47d6584d.zip |
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 <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions