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

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

usb: dwc3: gadget: assign resource_index inside get_transfer_index()



Instead of returning resource index number just to assign it to a
field inside 'dep' which was passed as argument, we can assing
dep->resource_index from inside dwc3_gadget_ep_get_transfer_index()
itself.

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