summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2015-03-08 11:08:14 -0600
committerMarek Vasut <marex@denx.de>2015-04-14 05:47:59 +0200
commit805b67e1ea9a733f8fd526989b154648aca8afb6 (patch)
treedb31dcc026995bcbb3da468eccd617ba8319ac4d /fs
parentd1c880c66c2f4d676afd91ce041a3e66c2ab3fa4 (diff)
usb: dwc2: remove restriction on buffer length
Each USB transfer is split up into chunks that are held in an aligned buffer. This imposes a limit on the size of each chunk, but no limit on the total size of transferred data. Fix the logic in chunk_msg() not to reject large transfers, but simply take the size of the aligned buffer into account when calculating the chunk size. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions