diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2021-08-26 11:47:41 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-10-01 17:26:30 +0530 |
commit | 193a750df59580ddda6779290fa3898ba3216d3c (patch) | |
tree | 0c3a697b778f8ad4bd5454e6230a8e4355b3b1f3 /drivers/Kconfig | |
parent | 16ed0ef3e931f49b06d73afbe1fb41737bee86b6 (diff) |
dmaengine: zynqmp_dma: refine dma descriptor locking
The descriptor lists are locked for the entire tasklet that completes
the descriptors. This is not necessary, because the lock actually only
protects the descriptor lists.
Make the spin lock more fine-grained and only protect functions that
actually operate on the descriptor lists. This decreases the time when
the lock is held.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Link: https://lore.kernel.org/r/20210826094742.1302009-7-m.tretter@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions