[PATCH -mm 2/4] Blackfin: serial update driver for Blackfinarchitecture

From: Wu, Bryan
Date: Wed Mar 21 2007 - 06:09:00 EST


Hi folks,

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

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

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/