USB: change FSG_BUFLEN from 16KB to 64KB in order to increase copy-speed
authorwlf <wulf@rock-chips.com>
Thu, 6 Mar 2014 06:06:01 +0000 (14:06 +0800)
committerwlf <wulf@rock-chips.com>
Thu, 6 Mar 2014 06:06:01 +0000 (14:06 +0800)
drivers/usb/gadget/storage_common.c

index dbce3a9074e6ebac353ec891ecc7c6726c5359b7..8d84935aad0477556ce230fbc3e8b65dd0304fa9 100644 (file)
@@ -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