]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tty: remove dtr/rts use from the driver open methods
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Sep 2009 20:13:24 +0000 (13:13 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:31:57 +0000 (09:31 -0700)
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

index 985cbcf48bda83317d235395fbbca689f5649ee1..b5275c4a8eedf8bb6408943c5eb3f0fa38d9870d 100644 (file)
@@ -399,12 +399,6 @@ static int cp210x_open(struct tty_struct *tty, struct usb_serial_port *port,
 
        /* 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;
 }