diff options
author | 2020-09-30 17:44:32 -0700 | |
---|---|---|
committer | 2020-10-02 09:57:46 +0300 | |
commit | 346a15cdf65263d8a8dfdbc5d2702471a2dcef6c (patch) | |
tree | 7ff47793daf89205902ee534ee655fb74d0120cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: dwc3: gadget: Revise setting IOC when no TRB left (diff) | |
download | wireguard-linux-346a15cdf65263d8a8dfdbc5d2702471a2dcef6c.tar.xz wireguard-linux-346a15cdf65263d8a8dfdbc5d2702471a2dcef6c.zip |
usb: dwc3: gadget: Keep TRBs in request order
If we couldn't finish preparing all the TRBs of a request, don't prepare
the next request. Otherwise, the TRBs order will be mixed up and the
controller will process the wrong TRB. This is a corner case where
there's not enough TRBs for a request that needs the extra TRB but
there's still 1 available TRB in the pool.
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.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