diff options
author | Erwan Le Ray <erwan.leray@st.com> | 2019-05-21 17:45:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-24 09:58:28 +0200 |
commit | 4f01d833fdcdd6f9b85d9e5d5d7568eb683626a7 (patch) | |
tree | 0fdd202a46cccc09fa2a6c2b2d929b7055a80c0a /drivers/tty/serial/ar933x_uart.c | |
parent | c8a9d043947b4acb19a65f7fac2bd0893e581cd5 (diff) |
serial: stm32: fix rx error handling
- Fixes parity and framing error bit by clearing parity and framing error
flag. The current implementation doesn't clear the error bits when an
error is detected.
- Fixes the incorrect name of framing error clearing flag in header file.
- Fixes misalignement between data frame and errors status. The status
read for "n" frame was the status of "n+1" frame".
- Fixes break detection was not triggered by the expected register.
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>
Diffstat (limited to 'drivers/tty/serial/ar933x_uart.c')
0 files changed, 0 insertions, 0 deletions