summaryrefslogtreecommitdiff
path: root/drivers/dma/bcm2835-dma.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2020-01-04 00:20:21 +0300
committerVinod Koul <vkoul@kernel.org>2020-01-15 17:10:51 +0300
commit4d3df16840a2bba5a345326426380e1381d976d2 (patch)
treec0c04513c5b83cc0abdd07cfa64f54519f370916 /drivers/dma/bcm2835-dma.c
parentc2dbcaa8c672d7ecc96c7a62fd6a34c9d3821bdb (diff)
downloadlinux-4d3df16840a2bba5a345326426380e1381d976d2.tar.xz
dmaengine: plx-dma: Implement descriptor submission
On prep, a spin lock is taken and the next entry in the circular buffer is filled. On submit, the valid bit is set in the hardware descriptor and the lock is released. The DMA engine is started (if it's not already running) when the client calls dma_async_issue_pending(). Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Link: https://lore.kernel.org/r/20200103212021.2881-4-logang@deltatee.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/bcm2835-dma.c')
0 files changed, 0 insertions, 0 deletions