]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_dma: Convert to use uart_xmit_advance()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 9 Sep 2022 09:11:02 +0000 (12:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Sep 2022 07:27:41 +0000 (09:27 +0200)
commit45341c3acaf2b6288adc7e65dbbc5c87083065e1
tree7ee4d16a0f1ef253ea5fee3f111b901884165159
parent6f631bc0e666041e4c4b922182f898d8c7edffac
serial: 8250_dma: Convert to use uart_xmit_advance()

uart_xmit_advance() provides a common way on how to advance
the Tx queue. Use it for the sake of unification and robustness.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220909091102.58941-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dma.c