]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: S3C24XX: add dma pdata for s3c2410, s3c2440 and s3c2442
authorHeiko Stuebner <heiko@sntech.de>
Sun, 20 Oct 2013 20:32:48 +0000 (05:32 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 20 Oct 2013 20:32:48 +0000 (05:32 +0900)
commit1fecf8958eb7f90791f2c7e99afac393b64fa976
tree9971cafc2f2b710e6e56f1b684ec54bf43a4523b
parent681a2fd26065f6147c1382b4f684df71fd5783aa
ARM: S3C24XX: add dma pdata for s3c2410, s3c2440 and s3c2442

s3c2410 and s3c2442 share the same dma channels while s3c2440 has
slight differences. But on all three the reachable sources per dma
channel has constraints attached and thus encodes the usable
combinations using the S3C24XX_DMA_CHANREQ macro.

This also fixes the warning about s3c2410_dma_resource being unused
as reported by Olof Johansson.

Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c24xx/common.c
arch/arm/mach-s3c24xx/common.h
include/linux/platform_data/dma-s3c24xx.h