summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2019-06-06 13:45:49 +0300
committerVinod Koul <vkoul@kernel.org>2019-06-14 11:22:44 +0530
commite28d915528136449ed261a743dfa3f392f555045 (patch)
treef06d4cda67d27ce12c915f14162eb9d1a0d9c24c /rust/alloc/collections/git@git.tavy.me:linux.git
parente3923592f80ba93aaa35b8d49b1f0a5b31db6b7f (diff)
dmaengine: axi-dmac: terminate early DMA transfers after a partial one
When a partial transfer is received, the driver should not submit any more segments to the hardware, as they will be ignored/unused until a new transfer start operation is done. This change implements this by adding a new flag on the AXI DMAC descriptor. This flags is set to true, if there was a partial transfer in a previously completed segment. When that flag is true, the TLAST flag is added to the to the submitted segment, signaling the controller to stop receiving more segments. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions