diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-03-19 18:02:34 +0300 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-01 14:39:06 +0400 |
commit | 8970ef47d56fd3db28ee798b9d400caf08abd924 (patch) | |
tree | cd400b68549e3f6494d1f339d3e3c8b7bacad4dc /drivers/mmc/host/s3cmci.c | |
parent | 5a9eb8da8b95fce21eb2dd39fe71b2b7882ce89a (diff) | |
download | linux-8970ef47d56fd3db28ee798b9d400caf08abd924.tar.xz |
[ARM] S3C24XX: Remove hardware specific registers from DMA
calls
The S3C24XX DMA API channel configuration registers are being passed
values comprised of register values which makes it hard to move the
API to cover both the S3C24XX and S3C64XX.
These values can be calculated from knowing which device the channel
is connected to, so remove them from the two calls s3c2410_dma_config
and s3c2410_dma_devconfig.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/mmc/host/s3cmci.c')
-rw-r--r-- | drivers/mmc/host/s3cmci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index 2db166b7096f..889f35047a52 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c @@ -789,7 +789,7 @@ static void s3cmci_dma_setup(struct s3cmci_host *host, last_source = source; - s3c2410_dma_devconfig(host->dma, source, 3, + s3c2410_dma_devconfig(host->dma, source, host->mem->start + host->sdidata); if (!setup_ok) { |