|
@@ -932,6 +932,8 @@ imx_set_termios(struct uart_port *port, struct ktermios *termios,
|
|
|
ucr2 |= UCR2_PROE;
|
|
|
}
|
|
|
|
|
|
+ del_timer_sync(&sport->timer);
|
|
|
+
|
|
|
/*
|
|
|
* Ask the core to calculate the divisor for us.
|
|
|
*/
|
|
@@ -962,8 +964,6 @@ imx_set_termios(struct uart_port *port, struct ktermios *termios,
|
|
|
sport->port.ignore_status_mask |= URXD_OVRRUN;
|
|
|
}
|
|
|
|
|
|
- del_timer_sync(&sport->timer);
|
|
|
-
|
|
|
/*
|
|
|
* Update the per-port timeout.
|
|
|
*/
|