On Wed, Feb 18, 2015 at 11:32:38AM +0700, Johan Hovold wrote:
> On Tue, Feb 17, 2015 at 10:45:11PM -0500, Nicolas PLANEL wrote:

> I believe the fix should be implemented slightly differently however.
> Most usb-serial driver call set_termios from open to handle this issue.
> It looks like you could simply replace the calls to set baudrate and
> "handshake" in open with
> 
>       ch341_set_termios(tty, port, NULL);

You currently need to make sure tty is not NULL in case the device is
being used as a console by the way. Just skip the set_termios call in
that case.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to