diff options
author | Valentin Caron <valentin.caron@foss.st.com> | 2022-01-04 19:24:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-06 15:58:46 +0100 |
commit | 2a3bcfe03725472607110507b6860d823e0deb41 (patch) | |
tree | a1b8f0d82139c3721becdfa20a3ac9a120a5e6b5 /drivers/dio | |
parent | serial: stm32: rework TX DMA state condition (diff) | |
download | linux-2a3bcfe03725472607110507b6860d823e0deb41.tar.xz linux-2a3bcfe03725472607110507b6860d823e0deb41.zip |
serial: stm32: fix flow control transfer in DMA mode
If flow control is enabled, framework will call stop_tx to
pause transfer and then call start_tx to resume transfer.
Clear USART_CR3_DMAT bit in stop_tx ops to pause DMA transfer.
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-4-valentin.caron@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions