diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-05-06 05:47:03 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-05-25 11:09:42 +0300 |
commit | aefe3d232b6629cb0ac92cc3d4238a5133dd9fec (patch) | |
tree | db858fe41780d3d38bb72a3c6c718059d11c037a /drivers/usb/dwc3/debug.h | |
parent | e0d19563eb6c191ca5539789173fb0e8fc5e69ed (diff) | |
download | linux-aefe3d232b6629cb0ac92cc3d4238a5133dd9fec.tar.xz |
usb: dwc3: gadget: Don't prepare beyond a transfer
Don't prepare TRBs beyond a transfer. In DWC_usb32, its transfer burst
capability may try to read and use TRBs beyond the active transfer. For
other controllers, they don't process the next transfer TRBs until the
current transfer is completed. Explicitly prevent preparing TRBs ahead
for all controllers.
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/dwc3/debug.h')
0 files changed, 0 insertions, 0 deletions