diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-10-25 13:50:46 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-11-03 10:38:41 +0200 |
commit | 7282c4ef0b66bb3b715ba8875e4e30392e77c7c1 (patch) | |
tree | 9cb29cff624fb6caebd9bbfa624eea0733022a6f /drivers/usb/dwc3/debug.c | |
parent | d86c5a676e5b1ee89da0cf9c845760c36cfde6d3 (diff) | |
download | linux-7282c4ef0b66bb3b715ba8875e4e30392e77c7c1.tar.gz linux-7282c4ef0b66bb3b715ba8875e4e30392e77c7c1.tar.bz2 linux-7282c4ef0b66bb3b715ba8875e4e30392e77c7c1.zip |
usb: dwc3: gadget: stop touching HWO TRBs
Say we have three requests prepared to the HW (reqA,
reqB, and reqC). All of them are composed of
SG-lists with several entries and they all requests
interrupt only on last TRBs of the SG-list.
When we get interrupt for reqA, it could be that
reqB is already half-way transferred and some of its
TRBs will have HWO already cleared.
It's okay to free up TRBs without HWO bit set, but
we need to guarantee we don't giveback a request
that's half-way transferred as that will confuse
gadget drivers.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/debug.c')
0 files changed, 0 insertions, 0 deletions