commit | b2af35a8ab42d54e996f5678c63e490461bffc4e | [log] [tgz] |
---|---|---|
author | Erwan Le Ray <erwan.leray@st.com> | Tue May 21 17:45:44 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 29 10:24:25 2020 +0100 |
tree | bc01ee9fb3b0f6426099485b87b9ac105d9c9c8d | |
parent | b55ca259c2a1d845efa048eaffd52d0ba01ee360 [diff] |
serial: stm32: fix transmit_chars when tx is stopped [ Upstream commit b83b957c91f68e53f0dc596e129e8305761f2a32 ] Disables the tx irq when the transmission is ended and updates stop_tx conditions for code cleanup. Fixes: 48a6092fb41f ("serial: stm32-usart: Add STM32 USART Driver") Signed-off-by: Erwan Le Ray <erwan.leray@st.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>