diff options
| author | Olivier Dautricourt <[email protected]> | 2024-06-08 23:31:47 +0200 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2024-06-11 21:50:55 +0530 |
| commit | d3ddfab0969b19a7dee3753010bb3ea94a0cccd1 (patch) | |
| tree | 3a6078c2c86a9b6efaab32a14a19772a404b4e2f /net/unix/af_unix.c | |
| parent | 261d3a85d959841821ca0d69f9d7b0d4087661c4 (diff) | |
dmaengine: altera-msgdma: cleanup after completing all descriptors
msgdma_chan_desc_cleanup iterates the done list for each completed
descriptor while we need to do it once after all descriptors are
completed.
This fixes a Sparse warning because we first take the lock in
msgdma_tasklet.
- Move locking to msgdma_chan_desc_cleanup.
- Move call to msgdma_chan_desc_cleanup outside of the critical section of
msgdma_tasklet.
Inspired by: commit 16ed0ef3e931 ("dmaengine: zynqmp_dma: cleanup after
completing all descriptors")
Signed-off-by: Olivier Dautricourt <[email protected]>
Tested-by: Olivier Dautricourt <[email protected]>
Suggested-by: Eric Schwarz <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions