diff options
author | Aditya Raut <aditraut@codeaurora.org> | 2020-03-18 23:26:49 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-04-27 08:21:37 -0700 |
commit | ea3ed9e7b37f8d241446a7b28d8d27dcb377126f (patch) | |
tree | 4e1ce536a3b27ee3bb1e79b351d4657fbbbe38c1 | |
parent | 1786ade01c072800a45ec7f13b507fda0e8d85ff (diff) |
usb: gadget: increase write buffer sizeLA.UM.8.12.r1-10700-sm8250.0LA.UM.8.12.r1-10600-sm8250.0
Increasing the write buffer size from 2k to 50k.
Change-Id: Ifac500581404467b08b06de0d9b8cd90c4afd0e5
Signed-off-by: Aditya Raut <aditraut@codeaurora.org>
-rw-r--r-- | drivers/usb/gadget/function/f_cdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/function/f_cdev.c b/drivers/usb/gadget/function/f_cdev.c index 3bbf33bf6793..62a8b73c955a 100644 --- a/drivers/usb/gadget/function/f_cdev.c +++ b/drivers/usb/gadget/function/f_cdev.c @@ -1,6 +1,6 @@ // 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 */ |