usb: dwc3: gadget: tracking per-TRB remaining bytes
commite62c5bc57367ac277b932571943c9a09e737ad88
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 25 Oct 2016 10:47:21 +0000 (25 13:47 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:40 +0000 (3 10:38 +0200)
tree0e0b3131783d3aef3f13a9d18acf7ef58a6b0489
parent6cb2e4e3de10893f38dbf3923a9cc50c76548a89
usb: dwc3: gadget: tracking per-TRB remaining bytes

This will give us a simpler way of figuring out how
many bytes were left in each TRB. It's useful for
cases where we queue only part of an SG-list due to
amount of available TRBs at the time of kicking the
transfer.

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