Messages in this thread Patch in this message | | | Date | Sat, 21 Jan 2006 02:10:05 +0300 | From | Alexey Dobriyan <> | Subject | [PATCH] drivers/serial/sh-sci.c: add forgotten { |
| |
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> ---
Watch for next l4x.org run to find out if it works. ;-) Specifically, section "h8300".
drivers/serial/sh-sci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c @@ -646,19 +646,19 @@ static inline int sci_handle_errors(stru } static inline int sci_handle_breaks(struct uart_port *port) { int copied = 0; unsigned short status = sci_in(port, SCxSR); struct tty_struct *tty = port->info->tty; struct sci_port *s = &sci_ports[port->line]; - if (!s->break_flag && status & SCxSR_BRK(port)) + if (!s->break_flag && status & SCxSR_BRK(port)) { #if defined(CONFIG_CPU_SH3) /* Debounce break */ s->break_flag = 1; #endif /* Notify of BREAK */ if(tty_insert_flip_char(tty, 0, TTY_BREAK)) copied++; pr_debug("sci: BREAK detected\n"); } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |