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

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

usb: dwc3: gadget: initialize transfer index from send_gadget_ep_cmd()



Instead of *always* calling dwc3_gadget_ep_get_transfer_index() after
sending a Start Transfer command, we can call it once from
dwc3_send_gadget_ep_cmd() itself.

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 4439661d
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