]> err.no Git - linux-2.6/commit
Address CH341 comments by Alan Cox
authorTollef Fog Heen <tfheen@err.no>
Sun, 21 Sep 2008 08:26:08 +0000 (10:26 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sun, 21 Sep 2008 08:26:08 +0000 (10:26 +0200)
commit09ed51af78b6100b246db39edf0a498f12b2a531
tree16fec77a24c5d4f05ee537e11e2cc2488ef51457
parentaf8082542f23e38cc48f5f3c43411d648a5f02f7
Address CH341 comments by Alan Cox

* Mask off bits we don't support
* Write back into the termios what the baud rate ended up being
* Don't raise RTS/DTR unless CLOCAL is set
* In set_termios, tty->termios can't be null
* Use wait_event_interruptible rather than interruptible_sleep_on

Signed-off-by: Tollef Fog Heen <tfheen@err.no>
drivers/usb/serial/ch341.c