mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
Merge branch 'v3.10/topic/misc' into linux-linaro-lsk
This commit is contained in:
commit
a44e5e7cf5
|
|
@ -231,7 +231,9 @@ static void altera_uart_rx_chars(struct altera_uart *pp)
|
|||
flag);
|
||||
}
|
||||
|
||||
spin_unlock(&port->lock);
|
||||
tty_flip_buffer_push(&port->state->port);
|
||||
spin_lock(&port->lock);
|
||||
}
|
||||
|
||||
static void altera_uart_tx_chars(struct altera_uart *pp)
|
||||
|
|
|
|||
|
|
@ -249,6 +249,8 @@ s3c24xx_serial_rx_chars(int irq, void *dev_id)
|
|||
ufcon |= S3C2410_UFCON_RESETRX;
|
||||
wr_regl(port, S3C2410_UFCON, ufcon);
|
||||
rx_enabled(port) = 1;
|
||||
spin_unlock_irqrestore(&port->lock,
|
||||
flags);
|
||||
goto out;
|
||||
}
|
||||
continue;
|
||||
|
|
@ -297,10 +299,11 @@ s3c24xx_serial_rx_chars(int irq, void *dev_id)
|
|||
ignore_char:
|
||||
continue;
|
||||
}
|
||||
|
||||
spin_unlock_irqrestore(&port->lock, flags);
|
||||
tty_flip_buffer_push(&port->state->port);
|
||||
|
||||
out:
|
||||
spin_unlock_irqrestore(&port->lock, flags);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user