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

2015-03-01 Thread Nicolas PLANEL
Nicolas PLANEL (1): USB: ch341: set tty baud speed according to tty struct drivers/usb/serial/ch341.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) -- 2.3.1 -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord

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

2015-03-01 Thread Nicolas PLANEL
,baudrate}() in ch341_open() as there already called in ch341_configure() and ch341_set_termios() Signed-off-by: Nicolas PLANEL nicolas.pla...@enovance.com --- drivers/usb/serial/ch341.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/usb/serial/ch341.c b

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

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

2015-02-26 Thread Nicolas PLANEL
Nicolas PLANEL (1): USB: ch341: set tty baud speed according to tty struct drivers/usb/serial/ch341.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.3.0 -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord

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

2015-02-26 Thread Nicolas PLANEL
that the tty_struct and the device baud rate generator are not synchronized after opening the port. Fixup is done by calling ch341_set_termios() if tty exist. Remove unnecessary variable priv-baud_rate setup as it's already done by ch341_port_probe(). Signed-off-by: Nicolas PLANEL nicolas.pla

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

2015-02-18 Thread Nicolas PLANEL
that the tty_struct and the device baud rate generator are not synchronized after opening the port. Fixup is done by calling ch341_set_termios() if tty exist. Remove unnecessary variable priv-baud_rate setup as it's already done by ch341_port_probe(). Signed-off-by: Nicolas PLANEL nicolas.pla

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

2015-02-18 Thread Nicolas PLANEL
Nicolas PLANEL (1): USB: ch341: set tty baud speed according to tty struct drivers/usb/serial/ch341.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord

Re: usb : serial : ch341 : set tty baud speed according to tty struct

2015-02-18 Thread Nicolas PLANEL
On 02/18/2015 02:05 PM, Karl Palsson wrote: Johan Hovold jo...@kernel.org wrote: 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

Re: usb : serial : ch341 : set tty baud speed according to tty struct

2015-02-17 Thread Nicolas PLANEL
From 467794e88dc08f61e1068c510c97baa9a12b841d Mon Sep 17 00:00:00 2001 From: Nicolas PLANEL nicolas.pla...@enovance.com Date: Tue, 17 Feb 2015 00:59:14 -0500 Subject: [PATCH] USB: ch341: set tty baud speed according to tty struct The ch341_set_baudrate() function initialize the device baud speed

usb : serial : ch341 : set tty baud speed according to tty struct

2015-02-17 Thread Nicolas PLANEL
default speed) Regards, Nicolas PLANEL === From 16df0d507a653c48f757635f717f2ba886f8c5ff Mon Sep 17 00:00:00 2001 From: Nicolas PLANEL nicolas.pla...@enovance.com Date: Tue, 17 Feb 2015 00:59:14 -0500 Subject: [PATCH] USB: ch341: set tty baud speed according to tty struct The ch341_set_baudrate