]> bbs.cooldavid.org Git - net-next-2.6.git/commit
DMAENGINE: COH 901 318 configure channel direction
authorLinus Walleij <linus.walleij@stericsson.com>
Tue, 2 Mar 2010 19:12:46 +0000 (20:12 +0100)
committerDan Williams <dan.j.williams@intel.com>
Tue, 2 Mar 2010 21:17:46 +0000 (14:17 -0700)
commit516fd4305e5f5718475e81fe5c17c95888a8157b
tree33d6648233b48178d58426d1659fd1234d9f95b0
parent0b58828c923e57f1bfbbd2c4277ceb60666314fa
DMAENGINE: COH 901 318 configure channel direction

This makes the COH 901 318 configure channel direction (to or from
device) dynamically, instead of being passed in from the platform
data. This was necessary in order to get the MMC/SD-card channel
bidirectional (all other channels on the U300 were either RX or
TX but this one was both). This also sets memcpy() alignent to
even 2^2 (32bit) boundaries, which makes the memcpy() stress tests
start working.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/coh901318.c