diff options
Diffstat (limited to 'drivers/tty/serial/imx.c')
-rw-r--r-- | drivers/tty/serial/imx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index f60c4028b6e1..be26345bf6a4 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c | |||
@@ -518,7 +518,6 @@ static irqreturn_t imx_rxint(int irq, void *dev_id) | |||
518 | unsigned int rx, flg, ignored = 0; | 518 | unsigned int rx, flg, ignored = 0; |
519 | struct tty_struct *tty = sport->port.state->port.tty; | 519 | struct tty_struct *tty = sport->port.state->port.tty; |
520 | struct tty_port *port = &sport->port.state->port; | 520 | struct tty_port *port = &sport->port.state->port; |
521 | struct tty_struct *tty = port->tty; | ||
522 | unsigned long flags, temp; | 521 | unsigned long flags, temp; |
523 | 522 | ||
524 | spin_lock_irqsave(&sport->port.lock, flags); | 523 | spin_lock_irqsave(&sport->port.lock, flags); |
@@ -576,7 +575,7 @@ static irqreturn_t imx_rxint(int irq, void *dev_id) | |||
576 | 575 | ||
577 | out: | 576 | out: |
578 | spin_unlock_irqrestore(&sport->port.lock, flags); | 577 | spin_unlock_irqrestore(&sport->port.lock, flags); |
579 | tty_flip_buffer_push(tty); | 578 | tty_flip_buffer_push(port); |
580 | return IRQ_HANDLED; | 579 | return IRQ_HANDLED; |
581 | } | 580 | } |
582 | 581 | ||