aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/imx.c
diff options
context:
space:
mode:
authorMatt Reimer <mreimer@vpop.net>2006-01-13 15:51:44 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-01-13 15:51:44 -0500
commit3261e362f603cf2649f90e9ad2d1a1f98f69291a (patch)
tree73b2469a0af03022217c25eb0469fec8b6d1995c /drivers/serial/imx.c
parentdd29c7277126db6884df42d41f2fbe2ebc10041e (diff)
[ARM] 3258/1: IMX serial: fix parity
Patch from Matt Reimer IMX serial parity generation doesn't work because of a simple logic error. This patch fixes it and now Bluetooth works on R1000. Signed-off-by: Matt Reimer <mreimer@vpop.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/imx.c')
-rw-r--r--drivers/serial/imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c
index 5c098be9346b..587cc6a95114 100644
--- a/drivers/serial/imx.c
+++ b/drivers/serial/imx.c
@@ -499,7 +499,7 @@ imx_set_termios(struct uart_port *port, struct termios *termios,
499 ucr2 |= UCR2_STPB; 499 ucr2 |= UCR2_STPB;
500 if (termios->c_cflag & PARENB) { 500 if (termios->c_cflag & PARENB) {
501 ucr2 |= UCR2_PREN; 501 ucr2 |= UCR2_PREN;
502 if (!(termios->c_cflag & PARODD)) 502 if (termios->c_cflag & PARODD)
503 ucr2 |= UCR2_PROE; 503 ucr2 |= UCR2_PROE;
504 } 504 }
505 505