commit | d0cc3d4100e829d726d7c0fbf5b7b8d2146f60ba | [log] [tgz] |
---|---|---|
author | Martin Fuzzey <mfuzzey@gmail.com> | Fri Oct 01 00:21:59 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 22 10:22:03 2010 -0700 |
tree | 94e3c28cc1e11448c74ed0f7be0a19af761f3c6d | |
parent | 1dae423dd9b247b048eda00cb598c755e5933213 [diff] |
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 <mfuzzey@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>