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

Commit ac5594b0 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

usb: dwc3: Allocate TRB pool upon enabling endpoint



Currently gadget driver is by default allocating dma TRB
pool per endpoint for 30 endpoints upon driver probe.
Optimize this by allocating dma memory only for enabled
endpoints.

Change-Id: I378a42d0b84fa43f7c20cd025cd9361c467cb41b
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 13848461
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