summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorHuang Chao <chao7.huang@samsung.com>2014-07-01 17:08:05 +0800
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:59:56 +0900
commit1dc421df06279cb8285aca96b2443c1f8a2c048a (patch)
treeae087f906404dad3df9e221187ebab8be4c52b52 /drivers/dma
parent2a0d7115a463f3313fd242764e43e512a60c4b75 (diff)
downloadlinux-3.10-1dc421df06279cb8285aca96b2443c1f8a2c048a.tar.gz
linux-3.10-1dc421df06279cb8285aca96b2443c1f8a2c048a.tar.bz2
linux-3.10-1dc421df06279cb8285aca96b2443c1f8a2c048a.zip
dma: pl330: Modify pause/resume cmd capability flag for slave dma
Since the pl330 dma pause/resume capability is supported now, the corresponding flag should be set as true. Change-Id: I2dfe6575e6407232f3dcb441e1690650e571f66c Signed-off-by: Huang Chao <chao7.huang@samsung.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/pl330.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index d7da512f96f..de1e0a1bffd 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -2950,7 +2950,7 @@ static int pl330_dma_device_slave_caps(struct dma_chan *dchan,
caps->src_addr_widths = PL330_DMA_BUSWIDTHS;
caps->dstn_addr_widths = PL330_DMA_BUSWIDTHS;
caps->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV);
- caps->cmd_pause = false;
+ caps->cmd_pause = true;
caps->cmd_terminate = true;
return 0;