diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2022-09-01 17:39:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-07 16:40:16 +0200 |
commit | e77cab77f2cb3a1ca2ba8df4af45bb35617ac16d (patch) | |
tree | 321140bf658608a5eeeea944ef2710a25f8dcaf4 /include/scsi | |
parent | 7e18e42e4b280c85b76967a9106a13ca61c16179 (diff) | |
download | lwn-e77cab77f2cb3a1ca2ba8df4af45bb35617ac16d.tar.gz lwn-e77cab77f2cb3a1ca2ba8df4af45bb35617ac16d.zip |
serial: Create uart_xmit_advance()
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>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions