summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorManu Gautam <mgautam@codeaurora.org>2012-10-03 18:49:33 +0530
committerKyle Yan <kyan@codeaurora.org>2016-06-07 16:01:30 -0700
commitf5bf2e9314b81ec2e24e7ad9a344c58d1304e7af (patch)
treeb4774099ac65d5072033f6f1e65c35203623399c /tools/perf/scripts/python
parent2142069a88ea13f98ffd55c5e87263c2e4e469e6 (diff)
usb: gadget: f_mtp: 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, MTP userspace module submits RX requests aligned to 512 bytes which works fine in High speed mode. But, fails in Super-speed mode where max packet size can be 1024 bytes. To overcome this just change the size of RX request buffer while submitting to DCD as the buffers are already allocated with the size of 16KB. Change-Id: I68c32ef3d08b2cf943b52a7269785d0a00146953 Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions