mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user