Re: [PATCH] tty: serial: fsl_lpuart: Fix lpuart_flush_buffer()

From: Vivien Didelot
Date: Fri Oct 04 2019 - 20:13:02 EST


Hi Andrey,

On Fri, 4 Oct 2019 14:55:37 -0700, Andrey Smirnov <andrew.smirnov@xxxxxxxxx> wrote:
> Fix incorrect read-modify-write sequence in lpuart_flush_buffer() that
> was reading from UARTPFIFO and writing to UARTCFIFO instead of
> operating solely on the latter.
>
> Fixes: 9bc19af9dacb ("tty: serial: fsl_lpuart: Flush HW FIFOs in .flush_buffer")
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>

This fixes the TTY on my ZII Devel Boards Rev B and C:

Reported-by: Vivien Didelot <vivien.didelot@xxxxxxxxx>
Tested-by: Vivien Didelot <vivien.didelot@xxxxxxxxx>


Thank you!

Vivien