]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 1 Aug 2018 10:42:29 +0000 (13:42 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 07:08:29 +0000 (09:08 +0200)
commit7746a8dfb3f9c91b3a0b63a1d5c2664410e6498d
tree34c6c235f84713a37acc65b216b490288deaf76f
parentc3acd59014148470dc58519870fbc779785b4bf7
usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs()

Extract the logic for skipping over TRBs to its own function. This
makes the code slightly more readable and makes it easier to move this
call to its final resting place as a following patch.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c