Ilpo Järvinen faf0e1b5d8 serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
commit 1d10cd4da593bc0196a239dcc54dac24b6b0a74e upstream.

Tx'ing does not correctly account Tx'ed characters into icount.tx.
Using uart_xmit_advance() fixes the problem.

Fixes: 2d908b38d409 ("serial: Add Tegra Combined UART driver")
Cc: <stable@vger.kernel.org> # serial: Create uart_xmit_advance()
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220901143934.8850-4-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-28 11:11:54 +02:00
..
2020-10-28 13:39:14 +01:00
2021-07-27 12:17:21 +02:00
2022-01-27 11:03:55 +01:00
2021-08-09 08:52:46 +02:00
2021-04-22 12:09:25 +02:00
2020-08-18 13:51:18 +02:00
2022-06-14 18:36:08 +02:00
2022-06-14 18:36:08 +02:00
2022-06-14 18:36:08 +02:00