projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/usb/serial/option.c
b/drivers/usb/serial/option.c
index b1c91818fe83a53604960b3457ccf704e36001a7..4590124cf8883714377147949ff873bcf228f1a4 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);
}