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:
1110b79
)
usb transfer speed up
author
yangkai
<yk@rock-chips.com>
Mon, 23 Jul 2012 10:07:50 +0000
(18:07 +0800)
committer
yangkai
<yk@rock-chips.com>
Mon, 23 Jul 2012 10:07:50 +0000
(18:07 +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 68d6fddeb6eba68b1f98c13d9c569c1486e4f623..e881ba4450c772c53c9689b51cc95a0118c46848 100755
(executable)
--- a/
drivers/usb/gadget/storage_common.c
+++ b/
drivers/usb/gadget/storage_common.c
@@
-270,7
+270,7
@@
static struct fsg_lun *fsg_lun_from_dev(struct device *dev)
#define FSG_NUM_BUFFERS 2
/* Default size of buffer length. */
-#define FSG_BUFLEN ((u32)
65536
)
+#define FSG_BUFLEN ((u32)
16384
)
/* Maximal number of LUNs supported in mass storage function */
#define FSG_MAX_LUNS 8