Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c2e71e4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dwc3: Increase event buffer size to 8KB from 256 bytes"

parents a14c3ec9 b386d581
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -43,9 +43,7 @@
#define DWC3_XHCI_RESOURCES_NUM	2
#define DWC3_XHCI_RESOURCES_NUM	2


#define DWC3_SCRATCHBUF_SIZE	4096	/* each buffer is assumed to be 4KiB */
#define DWC3_SCRATCHBUF_SIZE	4096	/* each buffer is assumed to be 4KiB */
#define DWC3_EVENT_SIZE		4	/* bytes */
#define DWC3_EVENT_BUFFERS_SIZE	(2 * PAGE_SIZE)
#define DWC3_EVENT_MAX_NUM	64	/* 2 events/endpoint */
#define DWC3_EVENT_BUFFERS_SIZE	(DWC3_EVENT_SIZE * DWC3_EVENT_MAX_NUM)
#define DWC3_EVENT_TYPE_MASK	0xfe
#define DWC3_EVENT_TYPE_MASK	0xfe


#define DWC3_EVENT_TYPE_DEV	0
#define DWC3_EVENT_TYPE_DEV	0