commit | ef966b9d33533b0bf01fb8c4d586ac3b20a3bdb5 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Apr 05 13:09:51 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Apr 19 11:11:46 2016 +0300 |
tree | 75da78b3e3cf384b6aa872cb0b006826ed4d9d02 | |
parent | 70fdb273db37196e9e5d292d5778a99fededb32f [diff] |
usb: dwc3: gadget: add trb enqueue/dequeue helpers Add three little helpers which will aid in making the code slightly easier to read. One helper increments enqueue pointer, another increments dequeue pointer and the last one tests if we're dealing with the last TRB. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>