From: yangkai Date: Mon, 23 Jul 2012 10:07:50 +0000 (+0800) Subject: usb transfer speed up X-Git-Tag: firefly_0821_release~8985 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=df6862b91e9313765e14e04b2ec77955bdd3b31c;p=firefly-linux-kernel-4.4.55.git usb transfer speed up --- diff --git a/drivers/usb/gadget/storage_common.c b/drivers/usb/gadget/storage_common.c index 68d6fddeb6eb..e881ba4450c7 100755 --- 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