Patchwork Regarding patch to the pl2303 usb-2-serial driver.

login
register
mail settings
Submitter Søren holm
Date March 23, 2012, 4:51 p.m.
Message ID <1629913.8qJkR7jR1e@koontz>
Download mbox | patch
Permalink /patch/148473/
State New
Headers show

Comments

Søren holm - March 23, 2012, 4:51 p.m.
Hi

The attached patch has today been sent to the linux kernel mailing list. I'm 
currently building the current precise kernel + the patch to verify the 
functionallity.

I would like to have the patch included into the precise kernel. What is 
needed to get the patch in?
Tim Gardner - March 23, 2012, 5:14 p.m.
On 03/23/2012 10:51 AM, Søren holm wrote:
> Hi
>
> The attached patch has today been sent to the linux kernel mailing list. I'm
> currently building the current precise kernel + the patch to verify the
> functionallity.
>
> I would like to have the patch included into the precise kernel. What is
> needed to get the patch in?
>
>

Once it has been merged into Linus' tree then we'll likely be able to 
either SRU it, or pick it up from stable updates.

rtg
Søren holm - March 23, 2012, 5:15 p.m.
Fredag den 23. marts 2012 11:14:01 skrev Tim Gardner:
> 
> Once it has been merged into Linus' tree then we'll likely be able to
> either SRU it, or pick it up from stable updates.

Ok, so the general policy is to only include upstream patches ?
Tim Gardner - March 23, 2012, 5:20 p.m.
On 03/23/2012 11:15 AM, Søren holm wrote:
> Fredag den 23. marts 2012 11:14:01 skrev Tim Gardner:
>>
>> Once it has been merged into Linus' tree then we'll likely be able to
>> either SRU it, or pick it up from stable updates.
>
> Ok, so the general policy is to only include upstream patches ?
>

For the most part we like to stay close to upstream. It makes 
maintenance a lot easier.

If Greg likes your patch, then its likely to make the 3.4 merge window 
'cause it looks like a bug fix. Soon thereafter it'll bubble down via 
stable updates.

rtg

Patch

diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index 052c401..c3b1911 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -420,7 +420,7 @@  static void pl2303_set_termios(struct tty_struct *tty,
 	control = priv->line_control;
 	if ((cflag & CBAUD) == B0)
 		priv->line_control &= ~(CONTROL_DTR | CONTROL_RTS);
-	else
+	else if ((old_termios->c_cflag & CBAUD) == B0)
 		priv->line_control |= (CONTROL_DTR | CONTROL_RTS);
 	if (control != priv->line_control) {
 		control = priv->line_control;