adb: Add bMaxBurst to superspeed descriptors
This gives a large boost to speed on usb 3.0. Test: adb pull/push multi GB files Bug: 31722483 Change-Id: Iea039f1aba8b2e4d7e4a2ecb504cccb5dd1e4629
This commit is contained in:
parent
2f8c60b1cc
commit
b5a34a2bce
|
@ -180,6 +180,7 @@ static struct ss_func_desc ss_descriptors = {
|
|||
.source_comp = {
|
||||
.bLength = sizeof(ss_descriptors.source_comp),
|
||||
.bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
|
||||
.bMaxBurst = 4,
|
||||
},
|
||||
.sink = {
|
||||
.bLength = sizeof(ss_descriptors.sink),
|
||||
|
@ -191,6 +192,7 @@ static struct ss_func_desc ss_descriptors = {
|
|||
.sink_comp = {
|
||||
.bLength = sizeof(ss_descriptors.sink_comp),
|
||||
.bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
|
||||
.bMaxBurst = 4,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue