summaryrefslogtreecommitdiff
path: root/drivers/usb/chipidea
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-07-04 07:18:03 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-06 17:53:20 (GMT)
commit3d97ff63f8997761f12c8fbe8082996c6eeaba1a (patch)
treea32cd04584cf59dac78be5b2f69bb9865b69f6ea /drivers/usb/chipidea
parent19181bc50e1b8e92a7a3b3d78637c6dc5c0b5a1b (diff)
downloadlinux-fsl-qoriq-3d97ff63f8997761f12c8fbe8082996c6eeaba1a.tar.xz
usbdevfs: Use scatter-gather lists for large bulk transfers
When using urb->transfer_buffer we need to allocate physical contiguous buffers for the entire transfer, which is pretty much guaranteed to fail with large transfers. Currently userspace works around this by breaking large transfers into multiple urbs. For large bulk transfers this leads to all kind of complications. This patch makes it possible for userspace to reliable submit large bulk transfers to scatter-gather capable host controllers in one go, by using a scatterlist to break the transfer up in managable chunks. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
0 files changed, 0 insertions, 0 deletions