summaryrefslogtreecommitdiffstats
path: root/kernel/cred.c
diff options
context:
space:
mode:
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>2011-10-01 00:26:06 +0200
committerFelipe Balbi <balbi@ti.com>2011-10-13 19:39:52 +0200
commitfe69676530f182bbb1fe0edd027e18751a1a2595 (patch)
treed509a1b7ba5f147909cfb9f379996644249db74b /kernel/cred.c
parentUSB: gadget: f_midi: allow a dynamic number of input and output ports (diff)
downloadlinux-fe69676530f182bbb1fe0edd027e18751a1a2595.tar.xz
linux-fe69676530f182bbb1fe0edd027e18751a1a2595.zip
usb: gadget: storage: fix mass storage gadgets to work with Synopsys UDC
The Synopsys USB device controller requires all OUT transfer request lengths to be aligned to max packet size. The mass storage gadgets do not meet this requirement for Super Speed. The gadgets already have a function which performs this alignment for CBW packets, so use it for data packets too. The alternative would be to implement bounce buffers in the DWC3 driver, but that could have a significant impact on performance. This version is based upon a more-correct patch written by Alan Stern. Signed-off-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions