]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: 8250: extract serial8250_set_mini()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 11 Jun 2025 10:03:04 +0000 (12:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jun 2025 11:42:35 +0000 (13:42 +0200)
commit0fa5aa0b59b3f1825e3e66de9c8e87f6214a93a8
treed4b0cb6782489b7b7045279cf47e5e6ef0bf57f8
parentaa05931abcfbce651eac6fe68d39c3c60a4da3a4
serial: 8250: extract serial8250_set_mini()

serial8250_do_set_termios() consists of many registers and up flags
settings. Extract all these into separate functions. This time, setting
of CSIZE for UART_CAP_MINI ports.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20250611100319.186924-19-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c