commit | a1ae9be5fc137d7e911a77ef408273ff55a53a39 | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Mon Aug 22 17:42:18 2011 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Fri Sep 09 13:01:55 2011 +0300 |
tree | 0298c34e7c5b7ddcabf3978d44e7be23f50ae531 | |
parent | 0d2f4758530d1598087d1d2f3e75b4f7d17fc6c7 [diff] |
usb: dwc3: gadget: reset resource index to zero If we collected two requests together (i.e. only the last of them has LST=1) then we only have to stop transfer once: The clean-up code will cleanup everything until first TRB with the LST bit set. After XferComplete this index should be no longer valid since there is no transfer pending. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>