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

From: Andrew Lunn
Date: Fri Oct 04 2019 - 18:54:11 EST


On Fri, Oct 04, 2019 at 02:55:37PM -0700, Andrey Smirnov 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>

Tested-by: Andrew Lunn <andrew@xxxxxxx>

Andrew