tty: serial: 8250: Set RS232 as default for Moxa PCIe board initialization
authorCrescent CY Hsieh <crescentcy.hsieh@moxa.com>
Tue, 2 Jan 2024 05:31:33 +0000 (13:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jan 2024 15:21:47 +0000 (16:21 +0100)
commit9903f2f2e1c0306df5e35080552502659475e751
tree111d55eaf64e5d37579ededa5c92ebab20954bc1
parentd8a02844791360ed156ce5935bc50754ea22e299
tty: serial: 8250: Set RS232 as default for Moxa PCIe board initialization

After switching the serial interface of the Moxa RS232 PCIe boards, it
fails to reset to RS232 when attempting to reload 8250_pci driver.

This patch set RS232 as the default setting during the initialization of
Moxa PCIe board.

Signed-off-by: Crescent CY Hsieh <crescentcy.hsieh@moxa.com>
Link: https://lore.kernel.org/r/20240102053133.9795-1-crescentcy.hsieh@moxa.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c