From: Philipp Zabel Date: Sat, 5 Jul 2008 23:15:34 +0000 (+0200) Subject: pxamci: fix byte aligned DMA transfers X-Git-Tag: v2.6.26~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97f8571e663c808ad2d01a396627235167291556;p=pandora-kernel.git 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 Signed-off-by: Pierre Ossman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed