Merge tag 'tty-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
[firefly-linux-kernel-4.4.55.git] / drivers / tty / hvc / hvcs.c
index f7ff97c0ad3499677578b7d1b68ff65c11ab74ec..5997b17311113150b93167aaaa4b1e37bb160cb3 100644 (file)
@@ -1230,7 +1230,7 @@ static void hvcs_close(struct tty_struct *tty, struct file *filp)
                irq = hvcsd->vdev->irq;
                spin_unlock_irqrestore(&hvcsd->lock, flags);
 
-               tty_wait_until_sent_from_close(tty, HVCS_CLOSE_WAIT);
+               tty_wait_until_sent(tty, HVCS_CLOSE_WAIT);
 
                /*
                 * This line is important because it tells hvcs_open that this