diff options
Diffstat (limited to 'drivers/usb/serial/io_ti.c')
-rw-r--r-- | drivers/usb/serial/io_ti.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index c0a42e9e6777..ddbb8fe1046d 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c | |||
@@ -1456,12 +1456,8 @@ static void handle_new_msr(struct edgeport_port *edge_port, __u8 msr) | |||
1456 | tty = tty_port_tty_get(&edge_port->port->port); | 1456 | tty = tty_port_tty_get(&edge_port->port->port); |
1457 | /* handle CTS flow control */ | 1457 | /* handle CTS flow control */ |
1458 | if (tty && C_CRTSCTS(tty)) { | 1458 | if (tty && C_CRTSCTS(tty)) { |
1459 | if (msr & EDGEPORT_MSR_CTS) { | 1459 | if (msr & EDGEPORT_MSR_CTS) |
1460 | tty->hw_stopped = 0; | ||
1461 | tty_wakeup(tty); | 1460 | tty_wakeup(tty); |
1462 | } else { | ||
1463 | tty->hw_stopped = 1; | ||
1464 | } | ||
1465 | } | 1461 | } |
1466 | tty_kref_put(tty); | 1462 | tty_kref_put(tty); |
1467 | } | 1463 | } |
@@ -2177,7 +2173,6 @@ static void change_port_settings(struct tty_struct *tty, | |||
2177 | dev_dbg(dev, "%s - RTS/CTS is enabled\n", __func__); | 2173 | dev_dbg(dev, "%s - RTS/CTS is enabled\n", __func__); |
2178 | } else { | 2174 | } else { |
2179 | dev_dbg(dev, "%s - RTS/CTS is disabled\n", __func__); | 2175 | dev_dbg(dev, "%s - RTS/CTS is disabled\n", __func__); |
2180 | tty->hw_stopped = 0; | ||
2181 | restart_read(edge_port); | 2176 | restart_read(edge_port); |
2182 | } | 2177 | } |
2183 | 2178 | ||