[SERIAL] Fix UPF_ flag usage with uart_info->flags
commit27ae7a7435634820e7f7e2b922d8119f79cfc6e4
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 21 Jan 2006 22:54:06 +0000 (21 22:54 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Jan 2006 22:54:06 +0000 (21 22:54 +0000)
tree53d72fc79e386a437da5681dfe33d67d83b66092
parent747c8a55946ed037bf7d62454c3c599c02af2262
[SERIAL] Fix UPF_ flag usage with uart_info->flags

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