diff options
author | Valentin Caron <valentin.caron@foss.st.com> | 2022-01-04 19:24:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-06 15:58:44 +0100 |
commit | 56a23f9319e86e1d62a109896e2c7e52c414e67d (patch) | |
tree | 0fc6cc617575e8e84bd637c053d0771f9de2b80e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 49a80424e3ec23ee2748f360348e167d5c748256 (diff) |
serial: stm32: move tx dma terminate DMA to shutdown
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions