diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-11-15 09:49:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-16 02:18:55 +0100 |
commit | 7342c59a44ad9e5f30baaa2de84830f40b9f06c0 (patch) | |
tree | 57cb023fce5ab3da54bea7a1d00c3aeb4f5220b6 /drivers/tty/isicom.c | |
parent | tty/serial/ar933x_uart: fix baud rate calculation (diff) | |
download | linux-7342c59a44ad9e5f30baaa2de84830f40b9f06c0.tar.xz linux-7342c59a44ad9e5f30baaa2de84830f40b9f06c0.zip |
TTY: isicom, stop using port->tty
Do not access unsafe port->tty pointer when we have a safe tty
already. Use the safe one.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/isicom.c')
-rw-r--r-- | drivers/tty/isicom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/isicom.c b/drivers/tty/isicom.c index d7492e183607..5f3ecbc2713e 100644 --- a/drivers/tty/isicom.c +++ b/drivers/tty/isicom.c @@ -603,7 +603,7 @@ static irqreturn_t isicom_interrupt(int irq, void *dev_id) if (tty_port_cts_enabled(&port->port)) { if (tty->hw_stopped) { if (header & ISI_CTS) { - port->port.tty->hw_stopped = 0; + tty->hw_stopped = 0; /* start tx ing */ port->status |= (ISI_TXOK | ISI_CTS); |