aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ti/edma.c
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 /drivers/dma/ti/edma.c
parentdmaengine: ti: omap-dma: Readability cleanup in omap_dma_tx_status() (diff)
downloadlinux-dev-4689d35c765c696bdf0535486a990038b242a26b.tar.xz
linux-dev-4689d35c765c696bdf0535486a990038b242a26b.zip
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 'drivers/dma/ti/edma.c')
0 files changed, 0 insertions, 0 deletions