]> git.karo-electronics.de Git - linux-beck.git/commit
TTY: clean up port shutdown
authorJohan Hovold <jhovold@gmail.com>
Thu, 7 Mar 2013 14:55:48 +0000 (15:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:27:53 +0000 (16:27 -0700)
commit8bde9658a0e6a7098dcda1ce6ea6b278029644b4
treec145dc5808d6c93809bd07dd083191165d14da4c
parentb12d8dc2dbe2d2d1d6eec314d586b1eed75756dc
TTY: clean up port shutdown

Untangle port-shutdown logic and make sure the initialised flag is
always cleared for non-console ports.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_port.c