Searched hist:"84872 dc448fe0ae11fe8412f4966e9c431a45b8f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | stm32-usart.c | diff 84872dc448fe0ae11fe8412f4966e9c431a45b8f Tue Jun 18 05:02:26 CDT 2019 Erwan Le Ray <erwan.leray@st.com> serial: stm32: add RX and TX FIFO flush
Adds a flush of RX and TX FIFOs, and fixes some errors: - adds RX FIFO flush in startup fonction - removes the useless transmitter enabling in startup fonction (e.g. receiver only, see Documentation/serial/driver) - configures FIFO threshold before enabling it, rather than after - flushes both TX and RX in set_termios function
Signed-off-by: Erwan Le Ray <erwan.leray@st.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|