X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Ftty%2Fhvc%2Fhvcs.c;h=5997b17311113150b93167aaaa4b1e37bb160cb3;hb=3370b69eb0c1f6a05f9051e8fc3e8768461a80f7;hp=f7ff97c0ad3499677578b7d1b68ff65c11ab74ec;hpb=7e08117de6ee17ae6c8f2983999a98cb95eb9bc2;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c index f7ff97c0ad34..5997b1731111 100644 --- a/drivers/tty/hvc/hvcs.c +++ b/drivers/tty/hvc/hvcs.c @@ -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