[PATCH 0/3] tty: close registration race and add termios reset feature

From: Johan Hovold
Date: Thu Mar 30 2017 - 09:40:48 EST


The first patch in this series closes a race between tty device
registration and tty open due to the character device being registered
before the class device has been registered.

The second patch removes some obsolete references to termios_locked, and
the final patch makes sure that any saved termios state is reset during
device registration when reusing a minor number.

Johan


Johan Hovold (3):
tty: close race between device register and open
tty: drop obsolete termios_locked comments
tty: reset termios state on device registration

drivers/tty/tty_io.c | 58 +++++++++++++++++++++++++++++-----------------------
1 file changed, 32 insertions(+), 26 deletions(-)

--
2.12.2