projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ebf80
)
USB: option: termios handling
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Thu, 18 Oct 2007 08:24:21 +0000
(
01:24
-0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 25 Oct 2007 19:18:41 +0000
(12:18 -0700)
For the devices that have no hardware settings set up the termios return
properly.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/option.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/option.c
b/drivers/usb/serial/option.c
index
b1c9181
..
4590124
100644
(file)
--- a/
drivers/usb/serial/option.c
+++ b/
drivers/usb/serial/option.c
@@
-313,7
+313,8
@@
static void option_set_termios(struct usb_serial_port *port,
struct ktermios *old_termios)
{
dbg("%s", __FUNCTION__);
-
+ /* Doesn't support option setting */
+ tty_termios_copy_hw(port->tty->termios, old_termios);
option_send_setup(port);
}