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. Change-Id: I3acdfc055d0c6a79a0aa65a715bae06dc475d078 Signed-off-by:Vijayavardhan Vennapusa <vvreddy@codeaurora.org> Signed-off-by:
Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment