commit | c3acd59014148470dc58519870fbc779785b4bf7 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Wed Aug 01 13:37:53 2018 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Nov 26 09:08:29 2018 +0200 |
tree | 63630bac769bc1d17702a92fe5aa6540936ac090 | |
parent | 09fe1f8d7e2f461275b1cdd832f2cfa5e9be346d [diff] |
usb: dwc3: gadget: use num_trbs when skipping TRBs on ->dequeue() Now that we track how many TRBs a request uses, it's easier to skip over them in case of a call to usb_ep_dequeue(). Let's do so and simplify the code a bit. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>