Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4faf7550 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent ef966b9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment