Commit 58d06e98 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Vinod Koul

dmaengine: Update documentation for inline wrapper

Commit 16052827 ("dmaengine/dma_slave:
introduce inline wrappers") introduced some wrappers, but there is still
a reference to the old function.

Update the documentation to use the wrapper, and add a missing "()" to a
function name.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 29a4bb14
...@@ -98,7 +98,7 @@ The slave DMA usage consists of following steps: ...@@ -98,7 +98,7 @@ The slave DMA usage consists of following steps:
unsigned long flags); unsigned long flags);
The peripheral driver is expected to have mapped the scatterlist for The peripheral driver is expected to have mapped the scatterlist for
the DMA operation prior to calling device_prep_slave_sg, and must the DMA operation prior to calling dmaengine_prep_slave_sg(), and must
keep the scatterlist mapped until the DMA operation has completed. keep the scatterlist mapped until the DMA operation has completed.
The scatterlist must be mapped using the DMA struct device. The scatterlist must be mapped using the DMA struct device.
If a mapping needs to be synchronized later, dma_sync_*_for_*() must be If a mapping needs to be synchronized later, dma_sync_*_for_*() must be
...@@ -195,5 +195,5 @@ Further APIs: ...@@ -195,5 +195,5 @@ Further APIs:
Note: Note:
Not all DMA engine drivers can return reliable information for Not all DMA engine drivers can return reliable information for
a running DMA channel. It is recommended that DMA engine users a running DMA channel. It is recommended that DMA engine users
pause or stop (via dmaengine_terminate_all) the channel before pause or stop (via dmaengine_terminate_all()) the channel before
using this API. using this API.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment