Re: [PATCH] USB: Driver for CH341 USB-serial adaptor
Alan Cox <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Organization | Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 |
| Message-ID | <[email protected]> |
> +static void ch341_set_termios(struct usb_serial_port *port,
> + struct ktermios *old_termios)
> +{
> + struct ch341_private *priv = usb_get_serial_port_data(port);
> + struct tty_struct *tty = port->tty;
> + /* check that they really want us to change something */
> + if (old_termios && cflag == old_termios->c_cflag)
> + return;
This check is wrong. I've just been removing it from all the other drives
(including the one you no doubt copied it from)
Otherwise looks great.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel