From: Sebastian Andrzej Siewior Date: Mon, 22 Aug 2011 15:42:18 +0000 (+0200) Subject: usb: dwc3: gadget: reset resource index to zero X-Git-Tag: v3.2-rc1~183^2~148^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1ae9be5fc137d7e911a77ef408273ff55a53a39;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed