summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/imx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 47b6156f5b2c..fa723a9a9c8c 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -1652,9 +1652,6 @@ imx_uart_set_termios(struct uart_port *port, struct ktermios *termios,
1652 UCR1); 1652 UCR1);
1653 imx_uart_writel(sport, old_ucr2 & ~UCR2_ATEN, UCR2); 1653 imx_uart_writel(sport, old_ucr2 & ~UCR2_ATEN, UCR2);
1654 1654
1655 /* then, disable everything */
1656 imx_uart_writel(sport, old_ucr2 & ~(UCR2_TXEN | UCR2_RXEN | UCR2_ATEN), UCR2);
1657
1658 /* custom-baudrate handling */ 1655 /* custom-baudrate handling */
1659 div = sport->port.uartclk / (baud * 16); 1656 div = sport->port.uartclk / (baud * 16);
1660 if (baud == 38400 && quot != div) 1657 if (baud == 38400 && quot != div)