diff options
author | Heiko Stuebner <heiko@sntech.de> | 2013-05-20 18:01:41 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-05-20 18:01:41 +0200 |
commit | a496bda66201e855f6b5d5d701d8bd65b9178700 (patch) | |
tree | 04f7d2a215a35a577dc2cfa984aa25921dfe685a /arch/arm/mach-s3c24xx/dma.c | |
parent | ARM: S3C24XX: dma-s3c2443 - do not write into arbitary bits (diff) | |
download | linux-a496bda66201e855f6b5d5d701d8bd65b9178700.tar.xz linux-a496bda66201e855f6b5d5d701d8bd65b9178700.zip |
ARM: S3C24XX: remove obsolete s3c2412 specific dma settings
The s3c2412 dma init contained code to handle dma-direction specific
settings. As now all s3c2412-dma-channels are direction-independent this
is not needed anymore.
As the s3c2412 also was the only user of this, it can go away completely.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/dma.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/dma.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c24xx/dma.c b/arch/arm/mach-s3c24xx/dma.c index aab64909e9a3..4a65cba3295d 100644 --- a/arch/arm/mach-s3c24xx/dma.c +++ b/arch/arm/mach-s3c24xx/dma.c @@ -1159,9 +1159,6 @@ int s3c2410_dma_devconfig(enum dma_ch channel, return -EINVAL; } - if (dma_sel.direction != NULL) - (dma_sel.direction)(chan, chan->map, source); - return 0; } |