usb: dwc3: gadget: split scatterlist and linear handlers
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 29 Mar 2018 10:32:10 +0000 (13:32 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 21 May 2018 07:00:54 +0000 (10:00 +0300)
commitd36929538f8b02615260075a9c512bddd75fea4e
tree1d2c6713b7471e2490917be2ef8cd2345d95c398
parentd5044a04b5292d3ac6c837af70d632a7d593f6db
usb: dwc3: gadget: split scatterlist and linear handlers

instead of having one big loop, let's split it down into two smaller
handlers: one for linear buffers and one for scatterlist.

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