diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2008-07-06 01:15:34 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-06 10:37:40 -0700 |
commit | 97f8571e663c808ad2d01a396627235167291556 (patch) | |
tree | 2e189714b2355996dba8974642460580077d3c0e /mm | |
parent | 09ca8adbe9f724a7e96f512c0039c4c4a1c5dcc0 (diff) | |
download | linux-97f8571e663c808ad2d01a396627235167291556.tar.gz linux-97f8571e663c808ad2d01a396627235167291556.tar.bz2 linux-97f8571e663c808ad2d01a396627235167291556.zip |
pxamci: fix byte aligned DMA transfers
The pxa27x DMA controller defaults to 64-bit alignment. This caused
the SCR reads to fail (and, depending on card type, error out) when
card->raw_scr was not aligned on a 8-byte boundary.
For performance reasons all scatter-gather addresses passed to
pxamci_request should be aligned on 8-byte boundaries, but if
this can't be guaranteed, byte aligned DMA transfers in the
have to be enabled in the controller to get correct behaviour.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions