diff options
author | Erwan Le Ray <erwan.leray@st.com> | 2019-06-18 13:02:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-21 12:17:36 +0300 |
commit | 84872dc448fe0ae11fe8412f4966e9c431a45b8f (patch) | |
tree | 38c487121a9a239cfdee11211fd0cfe600a0dc29 /mm/debug_page_ref.c | |
parent | d0a6a7bcc3fa0e97efce1d9a5c4cca6f3474c6bb (diff) | |
download | linux-84872dc448fe0ae11fe8412f4966e9c431a45b8f.tar.xz |
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>
Diffstat (limited to 'mm/debug_page_ref.c')
0 files changed, 0 insertions, 0 deletions