Skip to content

Commit 7abfe6e

Browse files
author
Vinod Koul
committed
carma-fpga: move to fsl_dma_external_start()
carma-fpga driver uses device control with custom FSLDMA_EXTERNAL_START command. Since we wnat to deprecate the device control, move this driver to use new fsl_dma_external_start() API Signed-off-by: Vinod Koul <vinod.koul@intel.com>
1 parent 4fdcf68 commit 7abfe6e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/misc/carma/carma-fpga-program.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <linux/completion.h>
1717
#include <linux/miscdevice.h>
1818
#include <linux/dmaengine.h>
19+
#include <linux/fsldma.h>
1920
#include <linux/interrupt.h>
2021
#include <linux/highmem.h>
2122
#include <linux/kernel.h>
@@ -524,7 +525,7 @@ static noinline int fpga_program_dma(struct fpga_dev *priv)
524525
goto out_dma_unmap;
525526
}
526527

527-
ret = chan->device->device_control(chan, FSLDMA_EXTERNAL_START, 1);
528+
ret = fsl_dma_external_start(chan, 1)
528529
if (ret) {
529530
dev_err(priv->dev, "DMA external control setup failed\n");
530531
goto out_dma_unmap;

0 commit comments

Comments
 (0)