From 9fbc91f34d9e80fab921f0034483ec7a09d14fda Mon Sep 17 00:00:00 2001 From: wlf Date: Thu, 6 Mar 2014 14:06:01 +0800 Subject: [PATCH] USB: change FSG_BUFLEN from 16KB to 64KB in order to increase copy-speed --- drivers/usb/gadget/storage_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/storage_common.c b/drivers/usb/gadget/storage_common.c index dbce3a9074e6..8d84935aad04 100644 --- a/drivers/usb/gadget/storage_common.c +++ b/drivers/usb/gadget/storage_common.c @@ -185,7 +185,7 @@ static inline int fsg_num_buffers_validate(void) } /* Default size of buffer length. */ -#define FSG_BUFLEN ((u32)16384) +#define FSG_BUFLEN ((u32)65536) /* Maximal number of LUNs supported in mass storage function */ #define FSG_MAX_LUNS 8 -- 2.34.1