diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-09-30 17:44:32 -0700 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-10-02 09:57:46 +0300 |
commit | 346a15cdf65263d8a8dfdbc5d2702471a2dcef6c (patch) | |
tree | 7ff47793daf89205902ee534ee655fb74d0120cf /scripts/gdb/linux/utils.py | |
parent | 8dbbe48c7a9989c75e39bfb2a886e163fa21660a (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions