]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial - fix tty back references in termios
authorAlan Cox <alan@linux.intel.com>
Tue, 1 Jun 2010 20:52:52 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:41 +0000 (13:47 -0700)
commit4a26c294e147bee51e68a66dfdfa500838be8cdd
treee966fec1389f578bfcad82ba2e9ba831e93d815c
parentbe78b48eeb8f240afce68b29b5ffc3c744fa8677
tty: serial - fix tty back references in termios

One or two drivers go poking back into the tty from the termios setting
routine in unsafe ways. We don't need to pass the tty down because the
[ab]users are just using it to get at things they can get at anyway.

This leaves low_latency setting to sort out along with set_ldisc use.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/21285.c
drivers/serial/imx.c
drivers/serial/ioc3_serial.c
drivers/serial/ioc4_serial.c
drivers/serial/max3100.c