• Jiri Slaby's avatar
    TTY: ldisc, move wait idle to caller · bb4006e0
    Jiri Slaby authored
    commit 30042072 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: default avatarJiri 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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    bb4006e0
tty_ldisc.c 23.4 KB