projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd29c72
)
[ARM] 3258/1: IMX serial: fix parity
author
Matt Reimer
<mreimer@vpop.net>
Fri, 13 Jan 2006 20:51:44 +0000
(20:51 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 13 Jan 2006 20:51:44 +0000
(20:51 +0000)
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>
drivers/serial/imx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/imx.c
b/drivers/serial/imx.c
index 5c098be9346b35de2b8ed58b0b6648df8c7c160a..587cc6a9511461732d355f7c32b4dc33117d52b3 100644
(file)
--- a/
drivers/serial/imx.c
+++ b/
drivers/serial/imx.c
@@
-499,7
+499,7
@@
imx_set_termios(struct uart_port *port, struct termios *termios,
ucr2 |= UCR2_STPB;
if (termios->c_cflag & PARENB) {
ucr2 |= UCR2_PREN;
- if (
!(termios->c_cflag & PARODD)
)
+ if (
termios->c_cflag & PARODD
)
ucr2 |= UCR2_PROE;
}