summaryrefslogtreecommitdiffstats
path: root/drivers/dma/amba-pl08x.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-05-14 15:17:20 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-07-01 14:15:23 +0100
commit571fa74034701391b1be2ad193f684acfdeb75d1 (patch)
treeb19b5fac263f5c23a053ac7db41d11ce634afb6b /drivers/dma/amba-pl08x.c
parentfe045874aaf4480386c65baf1acae82af4c5e21f (diff)
downloadblackbird-op-linux-571fa74034701391b1be2ad193f684acfdeb75d1.tar.gz
blackbird-op-linux-571fa74034701391b1be2ad193f684acfdeb75d1.zip
dmaengine: virt-dma: add support for cyclic DMA periodic callbacks
Add support for cyclic DMA's periodic callbacks. Drivers are expected to call vchan_cyclic_callback() when a period has completed, which will schedule the tasklet to make the callback into the driver. As callbacks are made from tasklet context, it is important to realise that we don't guarantee a callback for each completed period, but for N completed periods where N may be greater than one. Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/dma/amba-pl08x.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud