usb: dwc3: gadget: purge dwc3_stop_active_transfers()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 14 Oct 2016 10:46:50 +0000 (13:46 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:35 +0000 (10:38 +0200)
commitcf68923055cbb3a2d6a819a7197e4f69bf68cc44
tree4da0a9c3d04c70ac2181491c783f1e2a18a03c63
parentc5ac6116db35db0d750216b3ac5e1db1e2bd59c2
usb: dwc3: gadget: purge dwc3_stop_active_transfers()

That function is unnecessarily called from
dwc3_gadget_reset_interrupt(). Gadget drivers (and
thus, functions) are required to dequeue all pending
requests when they get notified about a USB Bus
Reset.

Trying to make sure there are no pending requests
only serves the purpose of working around possibly
bad gadgets.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c