RE: [PATCH] tty: serial: fsl_lpuart: fix lpuart32_poll_get_char

2020-09-29 Thread Andy Duan
From: Peng Fan Sent: Tuesday, September 29, 2020 5:55 PM > 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 > Signed-off-by: Peng Fa

[PATCH] tty: serial: fsl_lpuart: fix lpuart32_poll_get_char

2020-09-29 Thread Peng Fan
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 Signed-off-by: Peng Fan --- drivers/tty/serial/fsl_lpuart.c | 2 +- 1 file changed, 1 inserti