projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33bcfb9
)
USB: change FSG_BUFLEN from 16KB to 64KB in order to increase copy-speed
author
wlf
<wulf@rock-chips.com>
Thu, 6 Mar 2014 06:06:01 +0000
(14:06 +0800)
committer
wlf
<wulf@rock-chips.com>
Thu, 6 Mar 2014 06:06:01 +0000
(14:06 +0800)
drivers/usb/gadget/storage_common.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/storage_common.c
b/drivers/usb/gadget/storage_common.c
index dbce3a9074e6ebac353ec891ecc7c6726c5359b7..8d84935aad0477556ce230fbc3e8b65dd0304fa9 100644
(file)
--- 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