diff options
author | Magnus Damm <damm@opensource.se> | 2011-05-24 10:31:12 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-25 11:35:23 +0900 |
commit | 26fc02ab5551349b2e593829a76cb44328ee7f61 (patch) | |
tree | 3ad395f8942e2e2ad869f508434e3738ad28bf45 /drivers/dma/mxs-dma.c | |
parent | 66ad12931d523e833516659eafcc29af9a08fff3 (diff) | |
download | op-kernel-dev-26fc02ab5551349b2e593829a76cb44328ee7f61.zip op-kernel-dev-26fc02ab5551349b2e593829a76cb44328ee7f61.tar.gz |
dmaengine: shdma: Make second memory window optional
This patch makes the shdma.c driver allow slave operation
on DMA hardware mapped with a single I/O-memory window.
The dmae_set_dmars() function is adjusted to use the
first memory window in case of a missing DMARS window.
At probe() time the code is updated to enable DMA_SLAVE
only if slave information is passed with the platform data.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/dma/mxs-dma.c')
0 files changed, 0 insertions, 0 deletions