From: Robert Jarzmik Date: Tue, 13 Oct 2015 19:54:30 +0000 (+0200) Subject: dmaengine: pxa_dma: declare transfer are reusable X-Git-Tag: MMI-PSA29.97-13-9~8659^2~18^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3651b8e5cdf8773a7d74839e53454e4a0d48ffe;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Vinod Koul --- 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);