serial: liteuart: add IRQ support for the TX path
authorGabriel Somlo <gsomlo@gmail.com>
Wed, 23 Nov 2022 13:04:59 +0000 (08:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 13:59:41 +0000 (14:59 +0100)
commit01a305a36639a438e27503202a46f191b74bd168
treee91089dc2664c68f6571a6a472b493e16344bf12
parent5602cf99dcdcc0bf8f9a5979b7443fbe46686995
serial: liteuart: add IRQ support for the TX path

Switch the TX path to IRQ-driven operation, while maintaining support
for polling mode via the poll timer.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20221123130500.1030189-14-gsomlo@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/liteuart.c