diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-08-29 00:46:24 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-09-13 23:12:08 -0400 |
commit | 7fc7bf084bba30c66e751dae47b87bc00891f288 (patch) | |
tree | 494902f99b7d957f6cd25d17ca4bea5d73a707b3 /arch/arm/mach-exynos | |
parent | 2cc44e63184245c2b977ca8739b2e8aab63e3d38 (diff) |
ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
DMA clients pdma0 and pdma1 are internal to the SoC and are used only
by dedicated peripherals. Since they cannot be used for generic
purpose, their capability should be set as DMA_PRIVATE.
CC: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r-- | arch/arm/mach-exynos/dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/dma.c b/arch/arm/mach-exynos/dma.c index f60b66dbcf84..21d568b3b149 100644 --- a/arch/arm/mach-exynos/dma.c +++ b/arch/arm/mach-exynos/dma.c | |||
@@ -303,10 +303,12 @@ static int __init exynos_dma_init(void) | |||
303 | 303 | ||
304 | dma_cap_set(DMA_SLAVE, exynos_pdma0_pdata.cap_mask); | 304 | dma_cap_set(DMA_SLAVE, exynos_pdma0_pdata.cap_mask); |
305 | dma_cap_set(DMA_CYCLIC, exynos_pdma0_pdata.cap_mask); | 305 | dma_cap_set(DMA_CYCLIC, exynos_pdma0_pdata.cap_mask); |
306 | dma_cap_set(DMA_PRIVATE, exynos_pdma0_pdata.cap_mask); | ||
306 | amba_device_register(&exynos_pdma0_device, &iomem_resource); | 307 | amba_device_register(&exynos_pdma0_device, &iomem_resource); |
307 | 308 | ||
308 | dma_cap_set(DMA_SLAVE, exynos_pdma1_pdata.cap_mask); | 309 | dma_cap_set(DMA_SLAVE, exynos_pdma1_pdata.cap_mask); |
309 | dma_cap_set(DMA_CYCLIC, exynos_pdma1_pdata.cap_mask); | 310 | dma_cap_set(DMA_CYCLIC, exynos_pdma1_pdata.cap_mask); |
311 | dma_cap_set(DMA_PRIVATE, exynos_pdma1_pdata.cap_mask); | ||
310 | amba_device_register(&exynos_pdma1_device, &iomem_resource); | 312 | amba_device_register(&exynos_pdma1_device, &iomem_resource); |
311 | 313 | ||
312 | dma_cap_set(DMA_MEMCPY, exynos_mdma1_pdata.cap_mask); | 314 | dma_cap_set(DMA_MEMCPY, exynos_mdma1_pdata.cap_mask); |