Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <vinod.koul@intel.com>

+4
+4
Documentation/dmaengine/provider.txt
··· 310 310 - Even though that structure contains a direction field, this 311 311 field is deprecated in favor of the direction argument given to 312 312 the prep_* functions 313 + - This call is mandatory for slave operations only. This should NOT be 314 + set or expected to be set for memcpy operations. 315 + If a driver support both, it should use this call for slave 316 + operations only and not for memcpy ones. 313 317 314 318 * device_pause 315 319 - Pauses a transfer on the channel