diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-04-05 12:14:31 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-04-19 10:11:51 +0200 |
commit | 4faf75504a7db790483aa419d8f61e58cec4934c (patch) | |
tree | f1993e47eaf5c429516465c043c31bbb2884d382 /drivers/mfd | |
parent | usb: dwc3: gadget: add trb enqueue/dequeue helpers (diff) | |
download | linux-4faf75504a7db790483aa419d8f61e58cec4934c.tar.xz linux-4faf75504a7db790483aa419d8f61e58cec4934c.zip |
usb: dwc3: gadget: move % operation to increment helpers
By moving our % DWC3_NUM_TRB operation to the
increment helpers, the rest of the driver can be
simplified.
It's also a good practice to make sure we will have
a single place dealing with details about how to
increment our enqueue and dequeue pointers.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions