diff options
Diffstat (limited to 'drivers/tty/tty_ldisc.c')
-rw-r--r-- | drivers/tty/tty_ldisc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index 6f99c9959f0c..ac5be812dbe3 100644 --- a/drivers/tty/tty_ldisc.c +++ b/drivers/tty/tty_ldisc.c | |||
@@ -523,9 +523,9 @@ static int tty_ldisc_halt(struct tty_struct *tty) | |||
523 | */ | 523 | */ |
524 | static void tty_ldisc_flush_works(struct tty_struct *tty) | 524 | static void tty_ldisc_flush_works(struct tty_struct *tty) |
525 | { | 525 | { |
526 | flush_work_sync(&tty->hangup_work); | 526 | flush_work(&tty->hangup_work); |
527 | flush_work_sync(&tty->SAK_work); | 527 | flush_work(&tty->SAK_work); |
528 | flush_work_sync(&tty->buf.work); | 528 | flush_work(&tty->buf.work); |
529 | } | 529 | } |
530 | 530 | ||
531 | /** | 531 | /** |