[PATCH] drivers/serial/sh-sci.c: add forgotten {

From: Alexey Dobriyan
Date: Fri Jan 20 2006 - 17:51:04 EST


Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/