summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/driver.c
diff options
context:
space:
mode:
authorRobert Morell <rmorell@nvidia.com>2011-03-09 16:28:57 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-11 14:22:12 -0800
commitfbf9865c6d96f4a131092d2018056e86113e5cea (patch)
treeee9c5f63d8709bf50817a730360464031761fa27 /drivers/usb/core/driver.c
parent79ad3b5add4a683af02d1b51ccb699d1b01f1fbf (diff)
USB: ehci: tegra: Align DMA transfers to 32 bytes
The Tegra2 USB controller doesn't properly deal with misaligned DMA buffers, causing corruption. This is especially prevalent with USB network adapters, where skbuff alignment is often in the middle of a 4-byte dword. To avoid this, allocate a temporary buffer for the DMA if the provided buffer isn't sufficiently aligned. Signed-off-by: Robert Morell <rmorell@nvidia.com> Signed-off-by: Benoit Goby <benoit@android.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/driver.c')
0 files changed, 0 insertions, 0 deletions