File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1121,7 +1121,7 @@ static int uart_break_ctl(struct tty_struct *tty, int break_state)
1121
1121
return ret ;
1122
1122
}
1123
1123
1124
- static int uart_do_autoconfig (struct tty_struct * tty ,struct uart_state * state )
1124
+ static int uart_do_autoconfig (struct tty_struct * tty , struct uart_state * state )
1125
1125
{
1126
1126
struct tty_port * port = & state -> port ;
1127
1127
struct uart_port * uport ;
@@ -1524,6 +1524,7 @@ static void uart_set_termios(struct tty_struct *tty,
1524
1524
/* Handle transition away from B0 status */
1525
1525
else if (!(old_termios -> c_cflag & CBAUD ) && (cflag & CBAUD )) {
1526
1526
unsigned int mask = TIOCM_DTR ;
1527
+
1527
1528
if (!(cflag & CRTSCTS ) || !tty_throttled (tty ))
1528
1529
mask |= TIOCM_RTS ;
1529
1530
uart_set_mctrl (uport , mask );
@@ -2280,6 +2281,7 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
2280
2281
if (console_suspend_enabled || !uart_console (uport )) {
2281
2282
/* Protected by port mutex for now */
2282
2283
struct tty_struct * tty = port -> tty ;
2284
+
2283
2285
ret = ops -> startup (uport );
2284
2286
if (ret == 0 ) {
2285
2287
if (tty )
You can’t perform that action at this time.
0 commit comments