mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 21:37:25 +02:00
usb: gadget: f_tcm: Increase stream count
Some old builds of Microsoft Windows 10 UASP class driver reject UASP device with stream count of 2^4. To keep compatibility with both Linux and Windows, let's increase the stream count to 2^5. Also, internal tests show that stream count of 2^5 increases performance slightly. Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://lore.kernel.org/r/23bf7f5cb04da691fd6ba0a77babee9ad3195f44.1733876548.git.Thinh.Nguyen@synopsys.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
94d9bf671a
commit
e577ae94cd
|
|
@ -13,7 +13,7 @@
|
|||
#define USBG_NAMELEN 32
|
||||
|
||||
#define fuas_to_gadget(f) (f->function.config->cdev->gadget)
|
||||
#define UASP_SS_EP_COMP_LOG_STREAMS 4
|
||||
#define UASP_SS_EP_COMP_LOG_STREAMS 5
|
||||
#define UASP_SS_EP_COMP_NUM_STREAMS (1 << UASP_SS_EP_COMP_LOG_STREAMS)
|
||||
|
||||
enum {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user