summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/mvf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/mvf.c')
-rw-r--r--drivers/tty/serial/mvf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tty/serial/mvf.c b/drivers/tty/serial/mvf.c
index bbb08a0f3613..814a7daa56f0 100644
--- a/drivers/tty/serial/mvf.c
+++ b/drivers/tty/serial/mvf.c
@@ -506,11 +506,13 @@ static void imx_set_mctrl(struct uart_port *port, unsigned int mctrl)
unsigned long temp;
temp = readb(sport->port.membase + MXC_UARTMODEM) &
- ~MXC_UARTMODEM_RXRTSE;
+ ~(MXC_UARTMODEM_RXRTSE | MXC_UARTMODEM_TXCTSE);
if (mctrl & TIOCM_RTS)
temp |= MXC_UARTMODEM_RXRTSE;
+ if (mctrl & TIOCM_CTS)
+ temp |= MXC_UARTMODEM_TXCTSE;
writeb(temp, sport->port.membase + MXC_UARTMODEM);
}