From 1dc421df06279cb8285aca96b2443c1f8a2c048a Mon Sep 17 00:00:00 2001 From: Huang Chao Date: Tue, 1 Jul 2014 17:08:05 +0800 Subject: 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 --- drivers/dma/pl330.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/dma') 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; -- cgit v1.2.3