Revert "f_fs: set maxburst to one before enabling endpoints"
This reverts commit e3c2d0c27e3bd3df4b66bba9e9b47c7e0a442eb8. This was severely slowing down usb transfer speeds. Bug: 76154677 Test: mtp and adb speeds return to normal Change-Id: I70e7a45b3d71a66a4191637891d145a86495aab6 Signed-off-by: Jerry Zhang <zhangjerry@google.com>
This commit is contained in:
parent
59d01673ea
commit
3b4f0ff0e0
1 changed files with 0 additions and 6 deletions
|
@ -2180,12 +2180,6 @@ static int ffs_func_eps_enable(struct ffs_function *func)
|
|||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* userspace setting maxburst > 1 results more fifo
|
||||
* allocation than without maxburst. Change maxburst to 1
|
||||
* only to allocate fifo size of max packet size.
|
||||
*/
|
||||
ep->ep->maxburst = 1;
|
||||
ret = usb_ep_enable(ep->ep);
|
||||
if (likely(!ret)) {
|
||||
epfile->ep = ep;
|
||||
|
|
Loading…
Add table
Reference in a new issue