usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers
authorFelipe Balbi <balbi@ti.com>
Fri, 13 Dec 2013 20:19:33 +0000 (14:19 -0600)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Mar 2014 15:44:49 +0000 (09:44 -0600)
commitf3af36511e60669a2b5644d17378c7ea4e42d8b1
tree6202c1f125fbb03d9297a13b524361d9f1155d87
parent0e06bcac79ce6bb49adee22a991206933b7ea52d
usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers

by setting IOC always, we can recycle TRBs a
lot sooner at the expense of some increased
CPU load.

The extra load seems to be quite minimal on
OMAP5 devices (instead of 1 IRQ for one MSC
transfer, we get
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS).

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