mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:34:05 +08:00
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>
This commit is contained in:
parent
9eeacd3a2f
commit
d3651b8e5c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user