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)
commiteab4f5af6b07009d1fc48bac5f3215c0cbfb2fc3
treee966fec1389f578bfcad82ba2e9ba831e93d815c
parent192251352f912bccfb942ea35801d2357f11f592
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