From: Vinod Koul Date: Sun, 7 Dec 2014 17:48:01 +0000 (+0530) Subject: Documentation: dmaengine: clarify dma_slave_config expectations X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=6269591b989878992be443f77caa9ca4738dfaaf;p=deliverable%2Flinux.git Documentation: dmaengine: clarify dma_slave_config expectations dma_slave_config is expected to be set for slave operations Only, not for memcpy ones Signed-off-by: Vinod Koul --- diff --git a/Documentation/dmaengine/provider.txt b/Documentation/dmaengine/provider.txt index 2c391cfe37eb..05d2280190f1 100644 --- a/Documentation/dmaengine/provider.txt +++ b/Documentation/dmaengine/provider.txt @@ -310,6 +310,10 @@ supported. - Even though that structure contains a direction field, this field is deprecated in favor of the direction argument given to the prep_* functions + - This call is mandatory for slave operations only. This should NOT be + set or expected to be set for memcpy operations. + If a driver support both, it should use this call for slave + operations only and not for memcpy ones. * device_pause - Pauses a transfer on the channel