usb: dwc3: gadget: simplify __dwc3_gadget_kick_transfer()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 12 May 2016 13:53:59 +0000 (16:53 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:30:05 +0000 (12:30 +0300)
commit4fae2e3e15157ac312b91234389e79f7a76667b3
tree716c8a9320c097112513802a9eba0d9d3694c217
parentc4233573f6ee611033faa9116fc7003775a450b9
usb: dwc3: gadget: simplify __dwc3_gadget_kick_transfer()

as it turns out, we don't need the extra 'start_new'
argument as that can be inferred from DWC3_EP_BUSY
flag.

Because of that, we can simplify
__dwc3_gadget_kick_transfer() by quite a bit, even
allowing us to prepare more TRBs unconditionally.

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