]> pilppa.org Git - linux-2.6-omap-h63xx.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)
commitd2ad67b3fa61eed52b22491210c668a94c7bf17e
tree1ecd2be5cc7add814fda5500683691b1d3af7e51
parentd23bac9f8b3cf1ad674d6390364d559103013213
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
95da310e66ee8090119596c70ca8432e57f9a97f 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