dma: pl330: Modify pause/resume cmd capability flag for slave dma
authorHuang Chao <chao7.huang@samsung.com>
Tue, 1 Jul 2014 09:08:05 +0000 (17:08 +0800)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:56 +0000 (11:59 +0900)
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>
drivers/dma/pl330.c

index d7da512..de1e0a1 100644 (file)
@@ -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;