lkml.org 
[lkml]   [2009]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[046/136] tty: remove dtr/rts use from the driver open methods
    2.6.31-stable review patch.  If anyone has any objections, please let us know.

    ------------------
    From: Alan Cox <alan@linux.intel.com>

    commit 9a68e39d4a701fb3be03cae9b462408664ebd205 upstream.

    These are handled by the tty_port core code which will raise and lower the
    carrier correctly in tty_wait_until_ready

    Signed-off-by: Alan Cox <alan@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/usb/serial/cp210x.c | 6 ------
    1 file changed, 6 deletions(-)

    --- a/drivers/usb/serial/cp210x.c
    +++ b/drivers/usb/serial/cp210x.c
    @@ -399,12 +399,6 @@ static int cp210x_open(struct tty_struct

    /* Configure the termios structure */
    cp210x_get_termios(tty, port);
    -
    - /* Set the DTR and RTS pins low */
    - cp210x_tiocmset_port(tty ? (struct usb_serial_port *) tty->driver_data
    - : port,
    - NULL, TIOCM_DTR | TIOCM_RTS, 0);
    -
    return 0;
    }




    \
     
     \ /
      Last update: 2009-10-02 04:15    [W:0.021 / U:30.956 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site