usb: gadget: storage: Increase FSG_BUFLEN
authorMarek Vasut <marex@denx.de>
Thu, 19 Oct 2017 19:45:53 +0000 (21:45 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 26 Nov 2017 01:22:36 +0000 (02:22 +0100)
commita8c402f45c758235916615757ac537db8e96fc31
treefaba9c08bd952dd56187860340c8e40640b35a49
parent883946e8e7c5dacb5e12f18703e20d49a4886f0e
usb: gadget: storage: Increase FSG_BUFLEN

Increase the buffer length to be just above maximum permissible value
of 128 kiB . This increases the performance of the UMS and alike by a
factor of 2 - 2.5 as the buffers are less fragmented.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Lukasz Majewski <lukma@denx.de>
drivers/usb/gadget/storage_common.c