[PATCH 00/44] serial: Convert drivers to use uart_xmit_advance()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The uart_xmit_advance() helper was created for managing the xmit tail
index and accounting. It simplifies one the most common operation in
almost every serial driver. Convert most of the drivers to use the new
helper.

I've tried to pick the drivers such that these shouldn't collide with
the ones Jiri's tx loop rewrite series is touching (unless he has
something hidden beyond what has been on the list).

Ilpo Järvinen (44):
  serial: dz: Use uart_xmit_advance()
  serial: men_z135_uart: Use uart_xmit_advance()
  serial: msm: Use uart_xmit_advance()
  serial: pch_uart: Use uart_xmit_advance()
  serial: sc16is7xx: Use uart_xmit_advance()
  serial: 8250_bcm7271: Use uart_xmit_advance()
  serial: 8250: Use uart_xmit_advance()
  serial: pl011: Use uart_xmit_advance()
  serial: ar933x: Use uart_xmit_advance()
  serial: arc: Use uart_xmit_advance()
  serial: atmel: Use uart_xmit_advance()
  serial: clps711x: Use uart_xmit_advance()
  serial: cpm_uart: Use uart_xmit_advance()
  serial: digicolor: Use uart_xmit_advance()
  serial: linflexuart: Use uart_xmit_advance()
  serial: fsl_lpuart: Use uart_xmit_advance()
  serial: imx: Use uart_xmit_advance()
  serial: ip22zilog: Use uart_xmit_advance()
  serial: liteuart: Use uart_xmit_advance()
  serial: max3100: Use uart_xmit_advance()
  serial: max310x: Use uart_xmit_advance()
  serial: meson: Use uart_xmit_advance()
  serial: milbeaut_usio: Use uart_xmit_advance()
  serial: mvebu-uart: Use uart_xmit_advance()
  serial: pic32: Use uart_xmit_advance()
  serial: pmac_zilog: Use uart_xmit_advance()
  serial: rda: Use uart_xmit_advance()
  serial: samsung_tty: Use uart_xmit_advance()
  serial: sb1250-duart: Use uart_xmit_advance()
  serial: sccnxp: Use uart_xmit_advance()
  serial: tegra: Use uart_xmit_advance()
  serial: sh-sci: Use uart_xmit_advance()
  serial: sprd: Use uart_xmit_advance()
  serial: stm32: Use uart_xmit_advance()
  serial: sunhv: Use uart_xmit_advance()
  serial: sunplus-uart: Use uart_xmit_advance()
  serial: sunsab: Use uart_xmit_advance()
  serial: sunsu: Use uart_xmit_advance()
  serial: sunzilog: Use uart_xmit_advance()
  serial: timbuart: Use uart_xmit_advance()
  serial: uartlite: Use uart_xmit_advance()
  serial: ucc_uart: Use uart_xmit_advance()
  serial: xuartps: Use uart_xmit_advance()
  serial: zs: Use uart_xmit_advance()

 drivers/tty/serial/8250/8250_bcm7271.c      |  4 +---
 drivers/tty/serial/8250/8250_port.c         |  3 +--
 drivers/tty/serial/amba-pl011.c             |  3 +--
 drivers/tty/serial/ar933x_uart.c            |  3 +--
 drivers/tty/serial/arc_uart.c               |  3 +--
 drivers/tty/serial/atmel_serial.c           | 11 ++---------
 drivers/tty/serial/clps711x.c               |  3 +--
 drivers/tty/serial/cpm_uart/cpm_uart_core.c |  3 +--
 drivers/tty/serial/digicolor-usart.c        |  3 +--
 drivers/tty/serial/dz.c                     |  3 +--
 drivers/tty/serial/fsl_linflexuart.c        |  3 +--
 drivers/tty/serial/fsl_lpuart.c             |  7 ++-----
 drivers/tty/serial/imx.c                    |  7 ++-----
 drivers/tty/serial/ip22zilog.c              |  6 ++----
 drivers/tty/serial/liteuart.c               |  3 +--
 drivers/tty/serial/max3100.c                |  4 +---
 drivers/tty/serial/max310x.c                |  5 +----
 drivers/tty/serial/men_z135_uart.c          |  5 +----
 drivers/tty/serial/meson_uart.c             |  3 +--
 drivers/tty/serial/milbeaut_usio.c          |  3 +--
 drivers/tty/serial/msm_serial.c             | 11 +++--------
 drivers/tty/serial/mvebu-uart.c             |  3 +--
 drivers/tty/serial/pch_uart.c               | 12 ++++--------
 drivers/tty/serial/pic32_uart.c             |  3 +--
 drivers/tty/serial/pmac_zilog.c             |  6 ++----
 drivers/tty/serial/rda-uart.c               |  3 +--
 drivers/tty/serial/samsung_tty.c            | 10 +++-------
 drivers/tty/serial/sb1250-duart.c           |  3 +--
 drivers/tty/serial/sc16is7xx.c              |  5 +----
 drivers/tty/serial/sccnxp.c                 |  3 +--
 drivers/tty/serial/serial-tegra.c           |  3 +--
 drivers/tty/serial/sh-sci.c                 |  5 +----
 drivers/tty/serial/sprd_serial.c            |  7 ++-----
 drivers/tty/serial/stm32-usart.c            |  7 +++----
 drivers/tty/serial/sunhv.c                  |  6 ++----
 drivers/tty/serial/sunplus-uart.c           |  4 +---
 drivers/tty/serial/sunsab.c                 |  6 ++----
 drivers/tty/serial/sunsu.c                  |  3 +--
 drivers/tty/serial/sunzilog.c               |  6 ++----
 drivers/tty/serial/timbuart.c               |  3 +--
 drivers/tty/serial/uartlite.c               |  3 +--
 drivers/tty/serial/ucc_uart.c               |  3 +--
 drivers/tty/serial/xilinx_uartps.c          |  4 +---
 drivers/tty/serial/zs.c                     |  3 +--
 44 files changed, 62 insertions(+), 145 deletions(-)

-- 
2.30.2




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux