Re: [PATCH 1/2] usb: dwc3: gadget: Simplify skipping of link TRBs

2016-05-19 Thread Felipe Balbi
Hi, John Youn writes: > Make the skipping of the link TRBS build-in to the increment and > decrement operations. This simplifies the code wherever we increment and > decrement and ensures that we never end up pointing to a link trb. > > Signed-off-by: John Youn I had this in my TODO for today

[PATCH 1/2] usb: dwc3: gadget: Simplify skipping of link TRBs

2016-05-19 Thread John Youn
Make the skipping of the link TRBS build-in to the increment and decrement operations. This simplifies the code wherever we increment and decrement and ensures that we never end up pointing to a link trb. Signed-off-by: John Youn --- drivers/usb/dwc3/gadget.c | 26 +- 1 f