summaryrefslogtreecommitdiff
path: root/include/vdso
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2021-12-15 14:01:10 +0300
committerVinod Koul <vkoul@kernel.org>2022-01-05 13:20:03 +0300
commit18deddea9184b62941395889ff7659529c877326 (patch)
tree544c0402227535f414435f1237fe2a7eccb7ef0b /include/vdso
parent801db90bf294f647b967e8d99b9ae121bea63d0d (diff)
downloadlinux-18deddea9184b62941395889ff7659529c877326.tar.xz
dmaengine: at_xdmac: Fix concurrency over xfers_list
Since tx_submit can be called from a hard IRQ, xfers_list must be protected with a lock to avoid concurency on the list's elements. Since at_xdmac_handle_cyclic() is called from a tasklet, spin_lock_irq is enough to protect from a hard IRQ. 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-8-tudor.ambarus@microchip.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/vdso')
0 files changed, 0 insertions, 0 deletions