From patchwork Fri Mar 23 16:51:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?S=C3=B8ren_holm?= X-Patchwork-Id: 148473 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 8E4D1B6EE8 for ; Sat, 24 Mar 2012 03:52:06 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SB7iT-0003Gw-9H; Fri, 23 Mar 2012 16:51:53 +0000 Received: from mx01.stofanet.dk ([212.10.10.11]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SB7iO-0003Gr-At for kernel-team@lists.ubuntu.com; Fri, 23 Mar 2012 16:51:48 +0000 Received: from 5634f1b4.rev.stofanet.dk ([86.52.241.180] helo=asrock) by mx01.stofanet.dk (envelope-from ) with esmtp id 1SB7iN-0006ny-1X for kernel-team@lists.ubuntu.com; Fri, 23 Mar 2012 17:51:47 +0100 Received: from koontz.localnet (unknown [192.168.0.22]) by asrock (Postfix) with ESMTPS id 376A17F745 for ; Fri, 23 Mar 2012 17:51:46 +0100 (CET) From: =?ISO-8859-1?Q?S=F8ren?= holm To: kernel-team@lists.ubuntu.com Subject: Regarding patch to the pl2303 usb-2-serial driver. Date: Fri, 23 Mar 2012 17:51:45 +0100 Message-ID: <1629913.8qJkR7jR1e@koontz> User-Agent: KMail/4.8.0 (Linux/3.2.0-20-generic-pae; KDE/4.8.1; i686; ; ) MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com 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? 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;