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

Skip to content
Commit 17799062 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

usb: gadget: f_accessory: Make RX buffer size aligned to EP's MTU



Synopsys USB3 Controller (DWC3) has a restriction where size
of OUT requests (TRB) queued to the controller must be aligned
with the endpoint's max packet size. Generally, accessory userspace
module submits RX requests not aligned to endpoint's max packet
size. Hence to overcome this, align the size of RX request buffer to
endpoint's max packet while submitting to DCD as the buffers are
already allocated with the size of 16KB.

CRs-Fixed: 563000
Change-Id: I3acdfc055d0c6a79a0aa65a715bae06dc475d078
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent f7ff8474
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