diff options
author | Alan Cox <alan@linux.intel.com> | 2009-09-19 16:13:24 -0400 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 16:13:24 -0400 |
commit | 9a68e39d4a701fb3be03cae9b462408664ebd205 (patch) | |
tree | ce9d7cc1a598d42d1ba6d14620d8a5295cc4fcf7 /drivers/usb/serial | |
parent | d2b391822a11302add9e46476f3da4e18e6de84c (diff) |
tty: remove dtr/rts use from the driver open methods
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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/cp210x.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 985cbcf48bda..b5275c4a8eed 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c | |||
@@ -399,12 +399,6 @@ static int cp210x_open(struct tty_struct *tty, struct usb_serial_port *port, | |||
399 | 399 | ||
400 | /* Configure the termios structure */ | 400 | /* Configure the termios structure */ |
401 | cp210x_get_termios(tty, port); | 401 | cp210x_get_termios(tty, port); |
402 | |||
403 | /* Set the DTR and RTS pins low */ | ||
404 | cp210x_tiocmset_port(tty ? (struct usb_serial_port *) tty->driver_data | ||
405 | : port, | ||
406 | NULL, TIOCM_DTR | TIOCM_RTS, 0); | ||
407 | |||
408 | return 0; | 402 | return 0; |
409 | } | 403 | } |
410 | 404 | ||