summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/imx.c')
-rw-r--r--drivers/tty/serial/imx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index e76e5b9435b9..a512a7669d53 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -710,10 +710,10 @@ static void imx_set_mctrl(struct uart_port *port, unsigned int mctrl)
temp = readl(sport->port.membase + UCR2) & ~UCR2_CTS;
- if (mctrl & TIOCM_RTS) {
+ if (mctrl & TIOCM_RTS)
temp |= UCR2_CTS;
- writel(temp, sport->port.membase + UCR2);
- }
+
+ writel(temp, sport->port.membase + UCR2);
if (mctrl & TIOCM_LOOP) {
temp = readl(sport->port.membase + UTS) & ~UTS_LOOP;