lkml.org 
[lkml]   [2007]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH -mm 2/4] Blackfin: serial update driver for Blackfin architecture
From
Date
Hi folks,

Since we support break handling, we shouldn't use these flags.

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
---

drivers/serial/bfin_5xx.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

Index: linux-2.6/drivers/serial/bfin_5xx.c
===================================================================
--- linux-2.6.orig/drivers/serial/bfin_5xx.c
+++ linux-2.6/drivers/serial/bfin_5xx.c
@@ -615,11 +615,7 @@
}

/* These controls are not implemented for this port */
- termios->c_iflag |= INPCK | BRKINT | PARMRK;
- termios->c_iflag &= ~(IGNPAR | IGNBRK);
-
- /* These controls are not implemented for this port */
- termios->c_iflag |= INPCK | BRKINT | PARMRK;
+ termios->c_iflag |= INPCK;
termios->c_iflag &= ~(IGNPAR | IGNBRK);

baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
_
Thanks
-Bryan Wu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-21 11:13    [W:0.068 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site