tty: iuu_phoenix: set termios.
commit96dab77ebf3868cc8723ac95e048e8a9c1dccf22
authorOlivier Bornet <Olivier.Bornet@puck.ch>
Thu, 11 Jun 2009 11:54:20 +0000 (11 12:54 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:02 +0000 (11 08:51 -0700)
tree3094428021c695250c411ef2240cd030ad8f4e97
parentcc3447d179d8a5e16807e52b77d7f4c095ffedb7
tty: iuu_phoenix: set termios.

set_termios can now be used for setting the parity and the stopbits. This is
needed to use with cards which use a different parity then the parity used at
start (even).

If the iuu_uart_baud function return an error, we will return the old_termios
instead of the new one.

Signed-off-by: Olivier Bornet <Olivier.Bornet@puck.ch>
This was then revamped to use the various helpers, not copy non-hardware
bits any to add mark/space parity and csize reporting

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/serial/iuu_phoenix.c