aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/pl330.c
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-08-29 00:46:25 -0400
committerVinod Koul <vinod.koul@linux.intel.com>2012-09-13 23:12:08 -0400
commit5557a419d44d063be665100086adf4721d41ea49 (patch)
tree913bc34a1842e1e0ddb2ccaf437bd81fdd5ca64f /drivers/dma/pl330.c
parent7fc7bf084bba30c66e751dae47b87bc00891f288 (diff)
DMA: PL330: 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: Vinod Koul <vinod.koul@intel.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 'drivers/dma/pl330.c')
-rw-r--r--drivers/dma/pl330.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index e4feba6b03c0..600ea5ea9827 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -2954,6 +2954,7 @@ pl330_probe(struct amba_device *adev, const struct amba_id *id)
2954 if (pi->pcfg.num_peri) { 2954 if (pi->pcfg.num_peri) {
2955 dma_cap_set(DMA_SLAVE, pd->cap_mask); 2955 dma_cap_set(DMA_SLAVE, pd->cap_mask);
2956 dma_cap_set(DMA_CYCLIC, pd->cap_mask); 2956 dma_cap_set(DMA_CYCLIC, pd->cap_mask);
2957 dma_cap_set(DMA_PRIVATE, pd->cap_mask);
2957 } 2958 }
2958 } 2959 }
2959 2960