mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 01:23:20 +00:00
SERIAL: omap: configure xon/xoff before setting modem control lines
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
fd9980c761
commit
820344fe3d
@ -983,11 +983,12 @@ serial_omap_set_termios(struct uart_port *port, struct ktermios *termios,
|
||||
serial_out(up, UART_LCR, cval);
|
||||
}
|
||||
|
||||
serial_omap_set_mctrl(&up->port, up->port.mctrl);
|
||||
/* Software Flow Control Configuration */
|
||||
if (up->port.flags & UPF_SOFT_FLOW)
|
||||
serial_omap_configure_xonxoff(up, termios);
|
||||
|
||||
serial_omap_set_mctrl(&up->port, up->port.mctrl);
|
||||
|
||||
spin_unlock_irqrestore(&up->port.lock, flags);
|
||||
pm_runtime_mark_last_busy(up->dev);
|
||||
pm_runtime_put_autosuspend(up->dev);
|
||||
|
Loading…
Reference in New Issue
Block a user