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

Commit f04b008b authored by Aditya Raut's avatar Aditya Raut Committed by Rajesh Bharathwaj
Browse files

usb: gadget: increase write buffer size



Increasing the write buffer size from 2k to 50k.

Change-Id: Ifac500581404467b08b06de0d9b8cd90c4afd0e5
Signed-off-by: default avatarAditya Raut <aditraut@codeaurora.org>
parent 653e9abc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2011, 2013-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2011, 2013-2020, The Linux Foundation. All rights reserved.
 * Linux Foundation chooses to take subject only to the GPLv2 license terms,
 * and distributes only under these terms.
 *
@@ -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	2048
#define BRIDGE_TX_BUF_SIZE	(50 * 1024)

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