This is a note to let you know that I've just added the patch titled

    USB: pl2303: fix DTR/RTS being raised on baud rate change

to the 3.3-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     usb-pl2303-fix-dtr-rts-being-raised-on-baud-rate-change.patch
and it can be found in the queue-3.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From ce5c9851855bab190c9a142761d54ba583ab094c Mon Sep 17 00:00:00 2001
From: Johan Hovold <[email protected]>
Date: Fri, 23 Mar 2012 15:23:18 +0100
Subject: USB: pl2303: fix DTR/RTS being raised on baud rate change
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Johan Hovold <[email protected]>

commit ce5c9851855bab190c9a142761d54ba583ab094c upstream.

DTR/RTS should only be raised when changing baudrate from B0 and not on
any baud rate change (> B0).

Reported-by: Søren Holm <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/usb/serial/pl2303.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -421,7 +421,7 @@ static void pl2303_set_termios(struct tt
        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;


Patches currently in stable-queue which might be from [email protected] are

queue-3.3/bluetooth-hci_ldisc-fix-null-pointer-dereference-on-tty_close.patch
queue-3.3/usb-serial-fix-race-between-probe-and-open.patch
queue-3.3/usb-pl2303-fix-dtr-rts-being-raised-on-baud-rate-change.patch
queue-3.3/bluetooth-hci_core-fix-null-pointer-dereference-at-unregister.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to