From: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> Calling dmaengine_device_control() to terminate transfers is an internal API that will disappear, use the stable API wrapper instead. Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> Signed-off-by: Satish Kumar Nagireddy <satish.nagireddy.nagireddy@xxxxxxxxxx> --- drivers/media/platform/xilinx/xilinx-dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/xilinx/xilinx-dma.c b/drivers/media/platform/xilinx/xilinx-dma.c index cb20ada..a5bf345 100644 --- a/drivers/media/platform/xilinx/xilinx-dma.c +++ b/drivers/media/platform/xilinx/xilinx-dma.c @@ -434,6 +434,7 @@ static int xvip_dma_start_streaming(struct vb2_queue *vq, unsigned int count) return 0; error_stop: + dmaengine_terminate_all(dma->dma); media_pipeline_stop(&dma->video.entity); error: -- 2.1.1