]> git.baikalelectronics.ru Git - kernel.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)
commite0ac4cf5d96d1444c214c1aefbef850051193904
tree9971cafc2f2b710e6e56f1b684ec54bf43a4523b
parentab1607707eb17c0c3c3b5bb956a407231ddad3e6
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