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

From: Fabio Estevam
Date: Fri Oct 04 2019 - 18:05:44 EST


On Fri, Oct 4, 2019 at 6:59 PM 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>

Reviewed-by: Fabio Estevam <festevam@xxxxxxxxx>