usb: dwc3: gadget: always cleanup all TRBs
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 10 Aug 2016 09:35:30 +0000 (12:35 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 10 Aug 2016 11:15:57 +0000 (14:15 +0300)
commit7c705dfe2ebe731c8fd068623b6b4df2d3512c08
tree86f0c2045319bdb5391181d1c8af665d4f67c50a
parente5b36ae2f851024d43c76e51f395d32ce8d769ce
usb: dwc3: gadget: always cleanup all TRBs

If we stop earlier due to short packet, we will
not be able to giveback all TRBs.

Cc: <stable@vger.kernel.org>
Cc: Brian E Rogers <brian.e.rogers@intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c