On Tue, Jul 26, 2011 at 03:05:33PM +0530, Vinod Koul wrote:
On Tue, 2011-07-26 at 08:57 +0100, Russell King - ARM Linux wrote:
quoted
Here's an updated patch.
8<----------
From: Russell King <redacted>
DMAEngine: Improve slave/cyclic documentation
Improve the documentation for the slave and cyclic DMA engine support
reformatting it for easier reading, adding further APIs, splitting it
into five steps, and including references to the documentation in
dmaengine.h.
Signed-off-by: Russell King <redacted>
---
Documentation/dmaengine.txt | 211 ++++++++++++++++++++++++++++++-------------
1 files changed, 146 insertions(+), 65 deletions(-)
diff --git a/Documentation/dmaengine.txt b/Documentation/dmaengine.txt
index 5a0cb1e..8c2e888 100644
--- a/Documentation/dmaengine.txt
+++ b/Documentation/dmaengine.txt
@@ -10,87 +10,168 @@
Below is a guide to device driver writers on how to use the Slave-DMA API of the
DMA Engine. This is applicable only for slave DMA usage only.
-The slave DMA usage consists of following steps
+The slave DMA usage consists of following steps:
1. Allocate a DMA slave channel
2. Set slave and controller specific parameters
3. Get a descriptor for transaction
4. Submit the transaction and wait for callback notification
+5. Issue pending requests
Thanks Russell,
Applied with change to 4 above. Moved "and wait for callback
notification" to 5.
BTW, did you apply this one or the later one with the improved
documentation for dma mapping and fixed interface for slave
transfers etc. ?