diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-03-05 13:24:01 -0800 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-03-15 11:22:51 +0200 |
commit | 2dedea035ae82c5af0595637a6eda4655532b21e (patch) | |
tree | 21b169e45bee3c4d674bc09e3e65141471fadb01 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a114c4ca64bd522aec1790c7e5c60c882f699d8f (diff) |
usb: dwc3: gadget: Wrap around when skip TRBs
When skipping TRBs, we need to account for wrapping around the ring
buffer and not modifying some invalid TRBs. Without this fix, dwc3 won't
be able to check for available TRBs.
Cc: stable <stable@vger.kernel.org>
Fixes: 7746a8dfb3f9 ("usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs()")
Signed-off-by: Thinh Nguyen <thinhn@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