]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Move pty-specific set_termios() handling to pty driver
authorPeter Hurley <peter@hurleysoftware.com>
Thu, 16 Oct 2014 19:33:23 +0000 (15:33 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 00:34:36 +0000 (16:34 -0800)
commit55767dfb1c2d6b261a0a831616576d10b954d9d1
tree83a8d040432dd90ad72c48f5f2158a753f47409a
parentf63e0e56edb167d216d2769d5bf3ff0108dcb0df
tty: Move pty-specific set_termios() handling to pty driver

Packet mode is unique to the pty driver; move the packet mode state
change code from the generic tty ioctl handler to the pty driver.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c
drivers/tty/tty_ioctl.c