Skip to content

Commit

Permalink
m68k/amiserial: fix fallout of tty break handling rework
Browse files Browse the repository at this point in the history
commit 9e98966 (tty: rework break handling)
forgot to update one exit point of rs_break() in the Amiga serial driver.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Aug 6, 2008
1 parent 2e4f40d commit 970a8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/amiserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1254,7 +1254,7 @@ static int rs_break(struct tty_struct *tty, int break_state)
unsigned long flags;

if (serial_paranoia_check(info, tty->name, "rs_break"))
return;
return -EINVAL;

local_irq_save(flags);
if (break_state == -1)
Expand Down

0 comments on commit 970a8a5

Please sign in to comment.