diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2021-12-15 12:01:07 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-01-05 11:20:03 +0100 |
commit | 506875c30fc5bf92246060bc3b4c38799646266b (patch) | |
tree | 9463c6b93b3be1abb297ea6c3eeb2fd8c4bdffff /Documentation/filesystems/dlmfs.rst | |
parent | dmaengine: at_xdmac: Print debug message after realeasing the lock (diff) | |
download | linux-506875c30fc5bf92246060bc3b4c38799646266b.tar.xz linux-506875c30fc5bf92246060bc3b4c38799646266b.zip |
dmaengine: at_xdmac: Fix concurrency over chan's completed_cookie
Caller of dma_cookie_complete is expected to hold a lock to prevent
concurrency over the channel's completed cookie marker. Call
dma_cookie_complete() with the lock held.
Fixes: e1f7c9eee707 ("dmaengine: at_xdmac: creation of the atmel eXtended DMA Controller driver")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20211215110115.191749-5-tudor.ambarus@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/filesystems/dlmfs.rst')
0 files changed, 0 insertions, 0 deletions