Re: [PATCH v4 02/10] tty: serial: clean up stop-tx part in altera_uart_tx_chars()

From: Tobias Klauser
Date: Tue Sep 20 2022 - 10:25:54 EST


On 2022-09-20 at 07:20:42 +0200, Jiri Slaby <jslaby@xxxxxxx> wrote:
> The "stop TX" path in altera_uart_tx_chars() is open-coded, so:
> * use uart_circ_empty() to check if the buffer is empty, and
> * when true, call altera_uart_stop_tx().
>
> Cc: Tobias Klauser <tklauser@xxxxxxxxxx>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>

Acked-by: Tobias Klauser <tklauser@xxxxxxxxxx>