]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
serial: 8250: factor out serial8250_{set,clear}_THRI() helpers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 Jun 2019 13:53:20 +0000 (16:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 07:36:55 +0000 (09:36 +0200)
commit7e267b2956f122b3b86c09447e8791727f9d2624
treebd2559ca5f0d8c613f6981a847cece6237d51014
parent099f79c019993a7c6071942e9d873f7298f3af7f
serial: 8250: factor out serial8250_{set,clear}_THRI() helpers

Factor out similar code pieces that set or clear UART_IER_THRI bit to
serial8250_{set,clear}_THRI() helpers.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250.h
drivers/tty/serial/8250/8250_dma.c
drivers/tty/serial/8250/8250_omap.c
drivers/tty/serial/8250/8250_port.c