Re: [PATCH v3 1/1] USB: ch341: set tty baud speed according to tty struct

2015-03-01 Thread Nicolas PLANEL
Hi Johan, Sorry for the delay ... quite busy. I posted the lastest patch v4 on the ML. Regards, Nicolas On 02/27/2015 01:09 AM, Johan Hovold wrote: On Thu, Feb 26, 2015 at 10:02:41AM -0500, Nicolas PLANEL wrote: The ch341_set_baudrate() function initialize the device baud speed according

Re: [PATCH v3 1/1] USB: ch341: set tty baud speed according to tty struct

2015-02-26 Thread Johan Hovold
On Thu, Feb 26, 2015 at 10:02:41AM -0500, Nicolas PLANEL wrote: > The ch341_set_baudrate() function initialize the device baud speed according > to the value on priv->baud_rate. By default the ch341_open() set it to a > hardcoded value (DEFAULT_BAUD_RATE 9600). Unfortunately, the tty_struct is > no

[PATCH v3 1/1] USB: ch341: set tty baud speed according to tty struct

2015-02-26 Thread Nicolas PLANEL
The ch341_set_baudrate() function initialize the device baud speed according to the value on priv->baud_rate. By default the ch341_open() set it to a hardcoded value (DEFAULT_BAUD_RATE 9600). Unfortunately, the tty_struct is not initialized with the same default value. (usually 56700) This means t