X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Ftty%2Fhvc%2Fhvcs.c;fp=drivers%2Ftty%2Fhvc%2Fhvcs.c;h=5997b17311113150b93167aaaa4b1e37bb160cb3;hb=79c1faa4511e78380cd643dac88a775062a08bc0;hp=f7ff97c0ad3499677578b7d1b68ff65c11ab74ec;hpb=32ede4a51754cb62b0d43d91cb7c4e3c57069a9c;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