Commit 970a8a51 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

m68k/amiserial: fix fallout of tty break handling rework

commit 9e98966c (tty: rework break handling)
forgot to update one exit point of rs_break() in the Amiga serial driver.
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2e4f40d2
...@@ -1254,7 +1254,7 @@ static int rs_break(struct tty_struct *tty, int break_state) ...@@ -1254,7 +1254,7 @@ static int rs_break(struct tty_struct *tty, int break_state)
unsigned long flags; unsigned long flags;
if (serial_paranoia_check(info, tty->name, "rs_break")) if (serial_paranoia_check(info, tty->name, "rs_break"))
return; return -EINVAL;
local_irq_save(flags); local_irq_save(flags);
if (break_state == -1) if (break_state == -1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment