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:
5938a50
)
change msc buffer size to 64k
author
yangkai
<yk@rock-chips.com>
Sat, 31 Mar 2012 08:50:34 +0000
(16:50 +0800)
committer
yangkai
<yk@rock-chips.com>
Sat, 31 Mar 2012 08:50:34 +0000
(16:50 +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 e881ba4450c772c53c9689b51cc95a0118c46848..68d6fddeb6eba68b1f98c13d9c569c1486e4f623 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)
16384
)
+#define FSG_BUFLEN ((u32)
65536
)
/* Maximal number of LUNs supported in mass storage function */
#define FSG_MAX_LUNS 8