projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
747c8a5
)
[SERIAL] Fix UPF_ flag usage with uart_info->flags
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sat, 21 Jan 2006 22:54:06 +0000
(22:54 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sat, 21 Jan 2006 22:54:06 +0000
(22:54 +0000)
The previous change found a bug in the serial SAK handling - because
we were looking for UPF_SAK set in uart_info->flags, we would never
raise a SAK condition. UPF_SAK is in uart_port->flags.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/linux/serial_core.h
patch
|
blob
|
history
diff --git
a/include/linux/serial_core.h
b/include/linux/serial_core.h
index 90f681789a64b670dd2619ac9e9df6f4a2d67811..1a8cd0169c9a73642fae7240291e00dadaf7b77e 100644
(file)
--- a/
include/linux/serial_core.h
+++ b/
include/linux/serial_core.h
@@
-430,7
+430,7
@@
static inline int uart_handle_break(struct uart_port *port)
port->sysrq = 0;
}
#endif
- if (
info
->flags & UPF_SAK)
+ if (
port
->flags & UPF_SAK)
do_SAK(info->tty);
return 0;
}