usb: dwc3: gadget: add sg and num_pending_sgs to dwc3_request
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 12 Aug 2016 10:10:10 +0000 (13:10 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 22 Aug 2016 07:45:37 +0000 (10:45 +0300)
commit0b3e4af3c740937d1e0f7d444f75d087c29a2d1b
tree56497aa556d589fd97355dbf9a4f13f9629d4058
parent31162af447d7afba6820e42ed9cf968ed74c64cd
usb: dwc3: gadget: add sg and num_pending_sgs to dwc3_request

These two fields will be used in a follow-up patch
to track how many entries of request's sglist we
have already processed. The reason is that if a
gadget driver sends an sglist with more entries then
we can fit in the ring, we will have to continue
processing remaining afterwards.

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