summaryrefslogtreecommitdiff
path: root/net/wireless/util.c
diff options
context:
space:
mode:
authorValentin Caron <valentin.caron@foss.st.com>2022-01-04 21:24:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-27 13:03:56 +0300
commitf7e2f374799ff87cc0734cb3efe1a168aae77d8e (patch)
tree5d1de50aa4d581de43f9b342493978102c8ed4d3 /net/wireless/util.c
parent8209b0b395aaed26779286d7caa735277217353d (diff)
downloadlinux-f7e2f374799ff87cc0734cb3efe1a168aae77d8e.tar.xz
serial: stm32: move tx dma terminate DMA to shutdown
[ Upstream commit 56a23f9319e86e1d62a109896e2c7e52c414e67d ] Terminate DMA transaction and clear CR3_DMAT when shutdown is requested, instead of when remove is requested. If DMA transfer is not stopped in shutdown ops, driver will fail to start a new DMA transfer after next startup ops. Fixes: 3489187204eb ("serial: stm32: adding dma support") Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> Link: https://lore.kernel.org/r/20220104182445.4195-2-valentin.caron@foss.st.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/wireless/util.c')
0 files changed, 0 insertions, 0 deletions