]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb7220a23bdac3281d48a3769d46c269816198d1
tree86f0c2045319bdb5391181d1c8af665d4f67c50a
parentf68c0d38fd6cdfd15eb7a8c2e2680c0569ed2294
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