lkml.org 
[lkml]   [2014]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 16/26] isdn: i4l: Remove ASYNC_CTS_FLOW
    Date
    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>
    ---
    drivers/isdn/i4l/isdn_tty.c | 5 -----
    1 file changed, 5 deletions(-)

    diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c
    index 3c5f249..bc91261 100644
    --- a/drivers/isdn/i4l/isdn_tty.c
    +++ b/drivers/isdn/i4l/isdn_tty.c
    @@ -1043,11 +1043,6 @@ isdn_tty_change_speed(modem_info *info)
    if (!(cflag & PARODD))
    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)
    port->flags &= ~ASYNC_CHECK_CD;
    else {
    --
    2.1.0


    \
     
     \ /
      Last update: 2014-09-03 00:41    [W:4.333 / U:1.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site