diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-06-06 13:45:49 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-06-14 11:22:44 +0530 |
commit | e28d915528136449ed261a743dfa3f392f555045 (patch) | |
tree | f06d4cda67d27ce12c915f14162eb9d1a0d9c24c /drivers/dma/Kconfig | |
parent | e3923592f80ba93aaa35b8d49b1f0a5b31db6b7f (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 'drivers/dma/Kconfig')
0 files changed, 0 insertions, 0 deletions