mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-19 15:39:07 +00:00
isdn: i4l: Remove ASYNC_CTS_FLOW
ISDN4Linux always enables CTS flow control and does not use the tty_port_cts_enabled() helper function; remove ASYNC_CTS_FLOW state enable/disable. cc: Karsten Keil <isdn@linux-pingi.de> cc: <netdev@vger.kernel.org> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
299245a145
commit
317c136020
@ -1043,11 +1043,6 @@ isdn_tty_change_speed(modem_info *info)
|
|||||||
if (!(cflag & PARODD))
|
if (!(cflag & PARODD))
|
||||||
cval |= UART_LCR_EPAR;
|
cval |= UART_LCR_EPAR;
|
||||||
|
|
||||||
/* CTS flow control flag and modem status interrupts */
|
|
||||||
if (cflag & CRTSCTS) {
|
|
||||||
port->flags |= ASYNC_CTS_FLOW;
|
|
||||||
} else
|
|
||||||
port->flags &= ~ASYNC_CTS_FLOW;
|
|
||||||
if (cflag & CLOCAL)
|
if (cflag & CLOCAL)
|
||||||
port->flags &= ~ASYNC_CHECK_CD;
|
port->flags &= ~ASYNC_CHECK_CD;
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user