]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Fix cp2101 USB serial device driver termios functions for console use
authorVomLehn <dvomlehn@cisco.com>
Thu, 12 Mar 2009 21:37:42 +0000 (14:37 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:45 +0000 (16:20 -0700)
commit64fe383387be0312f82d7c220f6353fd16080f6c
tree1ecd2be5cc7add814fda5500683691b1d3af7e51
parent3341a6062961e850eea161cc69bf980dcf34eb17
USB: Fix cp2101 USB serial device driver termios functions for console use

This is really a follow up to the modifications Alan Cox made for commit
2f7eab29c0564e079778388900fa804bfdc69a39 to pass a tty_struct to various
interface functions, which broke the serial configuration (termios) functions
when the device is being used as a console. These changes restore the
configuration to proper functioning both as a tty and as a console.  As Alan
notes in that commit, these changes will need to be tweaked when we have
a proper console abstraction.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cp210x.c