]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Sep 2016 06:34:46 +0000 (08:34 +0200)
commit1eced36850fa879d7ae31959fd9956797df15b2e
treee128e4213428f1540f2ec83ee1b56fe1655e886b
parent07616b5a84b5f628ac03c2c9d84155f817490dc0
usb: dwc3: gadget: always cleanup all TRBs

commit 7c705dfe2ebe731c8fd068623b6b4df2d3512c08 upstream.

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

Cc: Brian E Rogers <brian.e.rogers@intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/gadget.c