mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
usb: dwc3: core: increase the DWC3_ISOC_MAX_RETRIES to 50
If usb gadget isochronous run in a high load and high bus latency system, it may fail to start a transfer for isochronous endpoint, and retry 5 times is not enough. This patch increases the retry times to 50. Change-Id: Id95a2b4fb09c3103a1da456b6ccb54ed24d03197 Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
#define DWC3_EP0_SETUP_SIZE 512
|
||||
#define DWC3_ENDPOINTS_NUM 32
|
||||
#define DWC3_XHCI_RESOURCES_NUM 2
|
||||
#define DWC3_ISOC_MAX_RETRIES 5
|
||||
#define DWC3_ISOC_MAX_RETRIES 50
|
||||
|
||||
#define DWC3_SCRATCHBUF_SIZE 4096 /* each buffer is assumed to be 4KiB */
|
||||
#define DWC3_EVENT_BUFFERS_SIZE 4096
|
||||
|
||||
Reference in New Issue
Block a user