Ilpo Järvinen 556e827b0f serial: Create uart_xmit_advance()
commit e77cab77f2cb3a1ca2ba8df4af45bb35617ac16d upstream.

A very common pattern in the drivers is to advance xmit tail
index and do bookkeeping of Tx'ed characters. Create
uart_xmit_advance() to handle it.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220901143934.8850-2-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-28 11:04:08 +02:00
..
2019-08-09 09:15:05 +02:00
2019-09-17 10:27:46 -07:00
2020-02-19 19:53:09 +01:00
2019-09-19 16:24:24 -07:00
2019-08-20 22:09:52 +02:00
2019-08-28 21:17:12 -06:00
2019-09-17 19:15:14 -07:00
2019-09-23 11:21:04 -07:00
2022-07-07 17:36:49 +02:00
2022-09-05 10:27:47 +02:00
2020-03-25 08:25:58 +01:00
2019-09-05 11:40:54 +02:00
2019-10-02 06:36:50 -07:00
2019-11-08 08:46:49 -08:00
2022-04-15 14:18:32 +02:00
2019-12-13 08:42:53 +01:00
2021-03-04 10:26:29 +01:00
2022-08-25 11:18:04 +02:00
2021-02-07 15:35:49 +01:00
2021-11-17 09:48:17 +01:00
2019-09-29 10:33:41 -07:00
2019-12-13 08:43:18 +01:00
2021-06-30 08:47:51 -04:00
2020-07-29 10:18:36 +02:00
2019-08-14 15:30:35 +02:00
2021-09-03 10:08:12 +02:00
2020-03-18 07:17:46 +01:00
2019-08-01 21:49:46 +02:00
2019-07-31 19:03:35 +02:00
2020-04-02 15:11:00 +02:00
2021-03-07 12:20:49 +01:00
2019-09-07 21:42:25 +02:00
2019-08-01 20:51:22 +02:00
2019-07-31 19:03:35 +02:00
2020-12-11 13:23:28 +01:00
2020-04-02 15:11:00 +02:00
2021-06-10 13:37:14 +02:00