summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2019-07-16 11:24:59 +0300
committerVinod Koul <vkoul@kernel.org>2019-07-29 12:05:01 +0530
commit4689d35c765c696bdf0535486a990038b242a26b (patch)
treed86f80227e9dd6e67ca7cf0a59a3bb92970fb674 /crypto
parentaac8670369dc017609b8e8870975641ad3143448 (diff)
downloadlinux-4689d35c765c696bdf0535486a990038b242a26b.tar.gz
dmaengine: ti: omap-dma: Improved memcpy polling support
When a DMA client driver does not set the DMA_PREP_INTERRUPT because it
does not want to use interrupts for DMA completion or because it can not
rely on DMA interrupts due to executing the memcpy when interrupts are
disabled it will poll the status of the transfer.

If the interrupts are enabled then the cookie will be set completed in the
interrupt handler so only check in HW completion when the polling is really
needed.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20190716082459.1222-3-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions