mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
m68k/amiserial: fix fallout of tty break handling rework
commit 9e98966c7b
(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>
This commit is contained in:
parent
2e4f40d2eb
commit
970a8a513c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user