From: Robert Morell Date: Thu, 10 Mar 2011 00:28:57 +0000 (-0800) Subject: USB: ehci: tegra: Align DMA transfers to 32 bytes X-Git-Tag: v2.6.39-rc1~472^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbf9865c6d96f4a131092d2018056e86113e5cea;p=pandora-kernel.git 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 Signed-off-by: Benoit Goby Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed