diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-08-28 18:08:08 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2012-08-28 18:08:13 +0530 |
commit | 866fdebba485ef824c2d68e50f8b01d0ef9b14fe (patch) | |
tree | 4683d9de9711dc53b9eeef2addd2575fab6ccab3 | |
parent | 176cbdbfb4ba0963d274a07624f7cb8c5cbb463f (diff) |
DMA: PL330: Set the capability of pdm0 and pdm1 as DMA_PRIVATEsamsung-lt-v3.5-1samsung-linux-3.5-2012.08-1
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.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r-- | drivers/dma/pl330.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index e4feba6b03c..600ea5ea982 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); } } |