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

Commit 8e2066b9 authored by Rohith Kollalsi's avatar Rohith Kollalsi Committed by Gerrit - the friendly Code Review server
Browse files

usb: gadget: Revert increase write buffer size



Commit 3fb319966d33 ("usb: gadget: increase write buffer size") brings
additional memory requirement and leads to memory allocation failure
when trying to allocate buffer to the request in usb_cser_alloc_req.
Hence revert it to fix this.

Change-Id: Iff5d6a2502d7ff094422fc66c20dff13d5b8d4ca
Signed-off-by: default avatarRohith Kollalsi <rkollals@codeaurora.org>
parent 82e942f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
#define BRIDGE_RX_QUEUE_SIZE	8
#define BRIDGE_RX_BUF_SIZE	2048
#define BRIDGE_TX_QUEUE_SIZE	8
#define BRIDGE_TX_BUF_SIZE	(50 * 1024)
#define BRIDGE_TX_BUF_SIZE	2048

#define GS_LOG2_NOTIFY_INTERVAL		5  /* 1 << 5 == 32 msec */
#define GS_NOTIFY_MAXPACKET		10 /* notification + 2 bytes */