VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> 2021-08-19 14:28:48 +0530 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-09-26 14:10:21 +0200 commit: 5c9fc54187142bd893a87d5b465774c15b6550b5 parent: 996a4337be965a7afc0765dae2996fb45669df14
Commit Summary:
dmaengine: xilinx_dma: Set DMA mask for coherent APIs
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c
index 4b9530a7bf65..434b1ff22e31 100644
--- a/drivers/dma/xilinx/xilinx_dma.c
+++ b/drivers/dma/xilinx/xilinx_dma.c
@@ -3077,7 +3077,7 @@ static int xilinx_dma_probe(struct platform_device *pdev)
 		xdev->ext_addr = false;
 
 	/* Set the dma mask bits */
-	dma_set_mask(xdev->dev, DMA_BIT_MASK(addr_width));
+	dma_set_mask_and_coherent(xdev->dev, DMA_BIT_MASK(addr_width));
 
 	/* Initialize the DMA engine */
 	xdev->common.dev = &pdev->dev;