mbox series

[v5,0/3] tty: TX helpers

Message ID 20221004104927.14361-1-jirislaby@kernel.org
Headers show
Series tty: TX helpers | expand

Message

Jiri Slaby Oct. 4, 2022, 10:49 a.m. UTC
This series introduces uart_port_tx() + uart_port_tx_limited() TX
helpers. See PATCH 1/3 for the details.

The preparatory cleanups were already merged, so only the helpers above
and the switch: first, to uart_port_tx() in 2/3 and then
uart_port_tx_limited() in 3/3.

I know it's pre-rc1 time now. But there is no rush. Maybe
non-maintainers can take time to review now ;).

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Johan Hovold <johan@kernel.org>
Cc: "Russell King (Oracle)" <linux@armlinux.org.uk>
Cc: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

Jiri Slaby (SUSE) (3):
  tty: serial: introduce transmit helpers
  tty: serial: use uart_port_tx() helper
  tty: serial: use uart_port_tx_limited()

 Documentation/driver-api/serial/driver.rst |  3 +
 drivers/tty/serial/21285.c                 | 32 ++-------
 drivers/tty/serial/altera_jtaguart.c       | 36 ++--------
 drivers/tty/serial/altera_uart.c           | 29 ++------
 drivers/tty/serial/amba-pl010.c            | 32 ++-------
 drivers/tty/serial/apbuart.c               | 34 ++-------
 drivers/tty/serial/atmel_serial.c          | 28 ++------
 drivers/tty/serial/bcm63xx_uart.c          | 47 +++----------
 drivers/tty/serial/fsl_lpuart.c            | 30 ++------
 drivers/tty/serial/lantiq.c                | 36 ++--------
 drivers/tty/serial/lpc32xx_hs.c            | 33 ++-------
 drivers/tty/serial/mcf.c                   | 34 +++------
 drivers/tty/serial/mpc52xx_uart.c          | 39 ++---------
 drivers/tty/serial/mps2-uart.c             | 26 ++-----
 drivers/tty/serial/mux.c                   | 45 ++++--------
 drivers/tty/serial/mvebu-uart.c            | 38 ++--------
 drivers/tty/serial/mxs-auart.c             | 32 +++------
 drivers/tty/serial/omap-serial.c           | 32 ++-------
 drivers/tty/serial/owl-uart.c              | 32 ++-------
 drivers/tty/serial/pxa.c                   | 33 ++-------
 drivers/tty/serial/rp2.c                   | 31 ++-------
 drivers/tty/serial/sa1100.c                | 34 ++-------
 drivers/tty/serial/serial_txx9.c           | 32 ++-------
 drivers/tty/serial/sifive.c                | 31 ++-------
 drivers/tty/serial/sprd_serial.c           | 33 ++-------
 drivers/tty/serial/st-asc.c                | 48 ++-----------
 drivers/tty/serial/vt8500_serial.c         | 30 ++------
 include/linux/serial_core.h                | 80 ++++++++++++++++++++++
 28 files changed, 228 insertions(+), 742 deletions(-)