]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
TTY: ldisc, move wait idle to caller
authorJiri Slaby <jslaby@suse.cz>
Wed, 16 Nov 2011 15:27:08 +0000 (16:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 26 Nov 2011 17:08:36 +0000 (09:08 -0800)
commitbb4006e04c27d6204da8b535be575d71c265875d
tree2c89341379d9bf6694ef4d63a95df1e0b2418d0c
parentd21ada2ca367042fc5a1a11a2c2703e04c93211d
TTY: ldisc, move wait idle to caller

commit 300420722e0734a4254f3b634e0f82664495d210 upstream.

It is the only place where reinit is called from. And we really need
to wait for the old ldisc to go once. Actually this is the place where
the waiting originally was (before removed and re-added later).

This will make the fix in the following patch easier to implement.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Dave Young <hidave.darkstar@gmail.com>
Cc: Dave Jones <davej@redhat.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Cc: Dmitriy Matrosov <sgf.dma@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/tty_ldisc.c