diff options
| author | 2019-06-18 12:02:26 +0200 | |
|---|---|---|
| committer | 2019-06-21 11:17:36 +0200 | |
| commit | 84872dc448fe0ae11fe8412f4966e9c431a45b8f (patch) | |
| tree | 38c487121a9a239cfdee11211fd0cfe600a0dc29 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | serial: stm32: add support of RX FIFO threshold (diff) | |
| download | linux-dev-84872dc448fe0ae11fe8412f4966e9c431a45b8f.tar.xz linux-dev-84872dc448fe0ae11fe8412f4966e9c431a45b8f.zip | |
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 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
