From: Martin Fuzzey Date: Thu, 30 Sep 2010 22:21:59 +0000 (+0200) Subject: USB: imx21-hcd accept arbitary transfer buffer alignement. X-Git-Tag: v2.6.37-rc1~154^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0cc3d4100e829d726d7c0fbf5b7b8d2146f60ba;p=pandora-kernel.git USB: imx21-hcd accept arbitary transfer buffer alignement. The hardware can only do DMA to 4 byte aligned addresses. When this requirement is not met use PIO or a bounce buffer. PIO is used when the buffer is small enough to directly use the hardware data memory (2*maxpacket). A bounce buffer is used for larger transfers. Signed-off-by: Martin Fuzzey Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed