usb: dwc3: gadget: don't prestart interrupt endpoints
authorFelipe Balbi <balbi@ti.com>
Mon, 30 Nov 2015 21:24:29 +0000 (15:24 -0600)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Nov 2015 21:35:14 +0000 (15:35 -0600)
commit62e345ae5b6ed977b02c24d1eaeaece062f9fb17
treed575cc4341fe3d9fb66c2b124411534e182b5732
parentf74875dc36135ebae82a8e005f4b7f52289d2c40
usb: dwc3: gadget: don't prestart interrupt endpoints

Because interrupt endpoints usually transmit such
small amounts of data, it seems pointless to prestart
transfers and try to get speed improvements. This
patch also sorts out a problem with CDC ECM function
where its notification endpoint gets stuck in busy
state and we continuously issue Update Transfer
commands.

Fixes: 8a1a9c9e4503 ("usb: dwc3: gadget: start transfer on XFER_COMPLETE")
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c