]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite892b320be6b3fbf5877c3ce864ebe990f775ab1
tree6202c1f125fbb03d9297a13b524361d9f1155d87
parent62ed127e406ec7a7d1e50503c9c2aba213c045b9
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