diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2015-10-13 22:54:30 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-11-16 06:02:16 +0300 |
commit | d3651b8e5cdf8773a7d74839e53454e4a0d48ffe (patch) | |
tree | dda63ace823d4a373e9f5adaea47cdab796fc68e /drivers/dma/pxa_dma.c | |
parent | 9eeacd3a2f17438d9d286ff2f78c4709a4148be7 (diff) | |
download | linux-d3651b8e5cdf8773a7d74839e53454e4a0d48ffe.tar.xz |
dmaengine: pxa_dma: declare transfer are reusable
As this driver provides a mechanism to reuse transfers, declare it in
its probe function.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/pxa_dma.c')
-rw-r--r-- | drivers/dma/pxa_dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/pxa_dma.c b/drivers/dma/pxa_dma.c index fc4156afa070..f2a0310ae771 100644 --- a/drivers/dma/pxa_dma.c +++ b/drivers/dma/pxa_dma.c @@ -1414,6 +1414,7 @@ static int pxad_probe(struct platform_device *op) pdev->slave.dst_addr_widths = widths; pdev->slave.directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM); pdev->slave.residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR; + pdev->slave.descriptor_reuse = true; pdev->slave.dev = &op->dev; ret = pxad_init_dmadev(op, pdev, dma_channels); |