diff options
author | Valentin Caron <valentin.caron@foss.st.com> | 2022-01-04 19:24:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-06 15:58:46 +0100 |
commit | 195437d14fb424a2ee50d51441181f16fd549789 (patch) | |
tree | dd46cbd3456df381cb673a6d9e9f45ab7605c61d /drivers/hwspinlock | |
parent | 2a3bcfe03725472607110507b6860d823e0deb41 (diff) |
serial: stm32: correct loop for dma error handling
In this error handling, "transmit_chars_dma" function will call
"transmit_chars_pio" once per characters. But "transmit_chars_pio" will
continue to send characters while xmit buffer is not empty.
Remove this useless loop, one call is sufficient.
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Link: https://lore.kernel.org/r/20220104182445.4195-5-valentin.caron@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions