summaryrefslogtreecommitdiffstats
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-08-20 13:20:53 -0400
committerVinod Koul <vinod.koul@intel.com>2014-09-23 10:49:10 -0400
commitd9ff958bb34aabdce08d11b0db24123c093d87cd (patch)
treea6927fc85df5b4fb66b425eb0bb3e31a890423f2 /include/linux/dmaengine.h
parent22843545b20007ae33bc3774043303e0b44e3d65 (diff)
dmaengine: Mark the struct dma_slave_config direction field deprecated
The direction passed to the device_prep_slave_sg, device_prep_dma_cyclic or device_prep_interleaved_dma (through struct dma_interleaved_template) should be used instead. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 1f9e642c66ad..3d291f59acd8 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -307,7 +307,9 @@ enum dma_slave_buswidth {
307 * struct dma_slave_config - dma slave channel runtime config 307 * struct dma_slave_config - dma slave channel runtime config
308 * @direction: whether the data shall go in or out on this slave 308 * @direction: whether the data shall go in or out on this slave
309 * channel, right now. DMA_MEM_TO_DEV and DMA_DEV_TO_MEM are 309 * channel, right now. DMA_MEM_TO_DEV and DMA_DEV_TO_MEM are
310 * legal values. 310 * legal values. DEPRECATED, drivers should use the direction argument
311 * to the device_prep_slave_sg and device_prep_dma_cyclic functions or
312 * the dir field in the dma_interleaved_template structure.
311 * @src_addr: this is the physical address where DMA slave data 313 * @src_addr: this is the physical address where DMA slave data
312 * should be read (RX), if the source is memory this argument is 314 * should be read (RX), if the source is memory this argument is
313 * ignored. 315 * ignored.