usb: dwc3: gadget: split __dwc3_gadget_kick_transfer()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 13 May 2016 09:42:44 +0000 (12:42 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:30:06 +0000 (12:30 +0300)
commit5ee85d890f8de5c6f1ab22ba13734a63fdf3ff2d
tree89e5edca8ce38ef5969515f6cf314f167e786643
parent6b74289937f624439c87135cfabb3deb2955fb53
usb: dwc3: gadget: split __dwc3_gadget_kick_transfer()

To aid code readability, we're gonna split
__dwc3_gadget_kick_transfer() into its constituent
parts: scatter gather and linear buffers.

That way, it's easier to follow the code and focus
debug effort when one or the other fails.

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