summaryrefslogtreecommitdiff
path: root/include/linux/dma
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-05-21 10:06:42 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-06-27 21:05:30 +0300
commitceeeb99cd821a2f7493e1e0e1eca5afc7a205213 (patch)
tree3be7ff944e556606dcd46039ca8cbb6cf0cdafdf /include/linux/dma
parente0ddaab76802d3179013f4864535043e2aea6c69 (diff)
downloadlinux-ceeeb99cd821a2f7493e1e0e1eca5afc7a205213.tar.xz
dmaengine: mxs: rename custom flag
The mxs dma driver uses the flags parameter in dmaengine_prep_slave_sg() for custom flags, but still uses the dmaengine specific names of the flags. Do a little bit better and at least give the flag a custom name. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/dma')
-rw-r--r--include/linux/dma/mxs-dma.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dma/mxs-dma.h b/include/linux/dma/mxs-dma.h
index 092b2a7b92ac..4a33f2c8a682 100644
--- a/include/linux/dma/mxs-dma.h
+++ b/include/linux/dma/mxs-dma.h
@@ -4,6 +4,8 @@
#include <linux/dmaengine.h>
+#define MXS_DMA_CTRL_WAIT4END BIT(31)
+
/*
* The mxs dmaengine can do PIO transfers. We pass a pointer to the PIO words
* in the second argument to dmaengine_prep_slave_sg when the direction is