diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-09-29 11:55:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-30 14:29:36 +0200 |
commit | 29788ab1d2bf26c130de8f44f9553ee78a27e8d5 (patch) | |
tree | 82797543f21cfe9e2c780aa5411789088dfd64da /drivers/tty/serial/amba-pl011.c | |
parent | tty: serial: lpuart: fix lpuart32_write usage (diff) | |
download | linux-29788ab1d2bf26c130de8f44f9553ee78a27e8d5.tar.xz linux-29788ab1d2bf26c130de8f44f9553ee78a27e8d5.zip |
tty: serial: fsl_lpuart: fix lpuart32_poll_get_char
The watermark is set to 1, so we need to input two chars to trigger RDRF
using the original logic. With the new logic, we could always get the
char when there is data in FIFO.
Suggested-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20200929095509.21680-1-peng.fan@nxp.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions