From: Tushar Behera Date: Wed, 29 Aug 2012 04:46:25 +0000 (+0530) Subject: DMA: PL330: Set the capability of pdm0 and pdm1 as DMA_PRIVATE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5557a419d44d063be665100086adf4721d41ea49;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Tushar Behera Acked-by: Kukjin Kim Signed-off-by: Vinod Koul --- 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) if (pi->pcfg.num_peri) { dma_cap_set(DMA_SLAVE, pd->cap_mask); dma_cap_set(DMA_CYCLIC, pd->cap_mask); + dma_cap_set(DMA_PRIVATE, pd->cap_mask); } }