]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: simplify __dwc3_gadget_ep_queue()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 5 Sep 2017 11:32:55 +0000 (14:32 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 19 Oct 2017 07:38:05 +0000 (10:38 +0300)
commit97382e0d34dde71f90429299a4a6f9a89aebd27e
treedde0773c0ad5e66a9ecca5b449775bb0bf30b640
parentbcc24d97fcfed19491af5c0629d1a75ad6725027
usb: dwc3: gadget: simplify __dwc3_gadget_ep_queue()

There is more possibility for sharing code if we just realise that now
__dwc3_gadget_kic_transfer() knows to break out early if there are no
TRBs left.

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