aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/dma/stm32-dmamux.c
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2020-01-27 09:53:34 +0100
committerVinod Koul <vkoul@kernel.org>2020-02-24 22:20:01 +0530
commitdfc708812a2acfc0ca56f56233b3c3e7b0d4ffe7 (patch)
treeae19c26e6c41ed9faa11d484dd090eb631438e26 /drivers/dma/stm32-dmamux.c
parentdmaengine: stm32-mdma: enable descriptor_reuse (diff)
downloadwireguard-linux-dfc708812a2acfc0ca56f56233b3c3e7b0d4ffe7.tar.xz
wireguard-linux-dfc708812a2acfc0ca56f56233b3c3e7b0d4ffe7.zip
dmaengine: stm32-mdma: use vchan_terminate_vdesc() in .terminate_all
To avoid race with vchan_complete, use the race free way to terminate running transfer. Move vdesc->node list_del in stm32_mdma_start_transfer instead of in stm32_mdma_xfer_end to avoid another race in vchan_dma_desc_free_list. Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Link: https://lore.kernel.org/r/20200127085334.13163-7-amelie.delaunay@st.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/stm32-dmamux.c')
0 files changed, 0 insertions, 0 deletions