diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2019-07-31 10:14:38 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-09-04 10:14:22 +0530 |
commit | fb9816f9d05f01330b27ddf5dfa93d0f848e3405 (patch) | |
tree | 3c440cf1a6b520de1a0c293589df9ee7f81d34b8 /lib/checksum.c | |
parent | 9fa2df6eafa024e9f10ff60518ab62abe1c6cfb6 (diff) |
dmaengine: dmatest: Add support for completion polling
With the polled parameter the DMA drivers can be tested if they can work
correctly when no completion is requested (no DMA_PREP_INTERRUPT and no
callback is provided).
If polled mode is selected then use dma_sync_wait() to execute the test
iteration instead of relying on the completion callback.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20190731071438.24075-1-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/checksum.c')
0 files changed, 0 insertions, 0 deletions