aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorValentin Caron <valentin.caron@foss.st.com>2022-01-04 19:24:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-06 15:58:46 +0100
commit195437d14fb424a2ee50d51441181f16fd549789 (patch)
treedd46cbd3456df381cb673a6d9e9f45ab7605c61d /drivers/input
parentserial: stm32: fix flow control transfer in DMA mode (diff)
downloadlinux-dev-195437d14fb424a2ee50d51441181f16fd549789.tar.xz
linux-dev-195437d14fb424a2ee50d51441181f16fd549789.zip
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/input')
0 files changed, 0 insertions, 0 deletions