[PATCH 00/19] mxser: another round of cleanups and fixes
From: Jiri Slaby
Date: Thu Nov 18 2021 - 02:31:30 EST
The driver needs care. This is another round of tested changes to clean
up the driver.
Jiri Slaby (19):
mxser: remove wait for sent from mxser_close_port
mxser: rename mxser_close_port() to mxser_stop_rx()
mxser: keep only !tty test in ISR
mxser: move MSR read to mxser_check_modem_status()
mxser: clean up tx handling in mxser_transmit_chars()
mxser: remove pointless xmit_buf checks
mxser: remove tty->driver_data NULL check
mxser: call stop_rx from mxser_shutdown_port()
mxser: don't flush buffer from mxser_close() directly
mxser: use tty_port_close() in mxser_close()
mxser: extract TX empty check from mxser_wait_until_sent()
mxser: use msleep_interruptible() in mxser_wait_until_sent()
mxser: clean up timeout handling in mxser_wait_until_sent()
mxser: don't throttle manually
mxser: remove tty parameter from mxser_receive_chars_new()
mxser: increase buf_overrun if tty_insert_flip_char() fails
mxser: add MOXA prefix to some PCI device IDs
mxser: move ids from pci_ids.h here
mxser: use PCI_DEVICE_DATA
drivers/tty/mxser.c | 306 +++++++++++++++++-----------------------
include/linux/pci_ids.h | 18 ---
2 files changed, 132 insertions(+), 192 deletions(-)
--
2.33.1