USB: f_mtp: Set maximum burst value to two for superspeed mode
Currently burst value is set to zero for superspeed in mtp driver. MTP throughput can be improved by setting max burst value to non zero value in superspeed mode. Hence set max burst value to two for both IN and OUT bulk endpoints in superspeed mode. Change-Id: Ib78b8fec5d1ab934f4d4ec80b7e008149707ce0f Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org> Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
This commit is contained in:
parent
a6009395a3
commit
d68052df98
1 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ static struct usb_ss_ep_comp_descriptor mtp_superspeed_in_comp_desc = {
|
|||
.bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
|
||||
|
||||
/* the following 2 values can be tweaked if necessary */
|
||||
/* .bMaxBurst = 0, */
|
||||
.bMaxBurst = 2,
|
||||
/* .bmAttributes = 0, */
|
||||
};
|
||||
|
||||
|
@ -174,7 +174,7 @@ static struct usb_ss_ep_comp_descriptor mtp_superspeed_out_comp_desc = {
|
|||
.bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
|
||||
|
||||
/* the following 2 values can be tweaked if necessary */
|
||||
/* .bMaxBurst = 0, */
|
||||
.bMaxBurst = 2,
|
||||
/* .bmAttributes = 0, */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue