summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2020-01-27 09:53:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-01 13:14:34 +0200
commitbb198240240a8469d0708e472a397c02880faad9 (patch)
tree2bf2cf33bf3b568c5d06db39fbd4fbf73b8e123b /arch
parent09ace5ea7e3edb0a2fc6424a1142559cc38644fd (diff)
downloadlinux-stable-bb198240240a8469d0708e472a397c02880faad9.tar.gz
linux-stable-bb198240240a8469d0708e472a397c02880faad9.tar.bz2
linux-stable-bb198240240a8469d0708e472a397c02880faad9.zip
dmaengine: stm32-mdma: use vchan_terminate_vdesc() in .terminate_all
[ Upstream commit dfc708812a2acfc0ca56f56233b3c3e7b0d4ffe7 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions