diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2013-08-19 15:22:36 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2013-08-19 15:22:36 +0530 |
commit | 3685f64b50fa6f1864066e26cfd8f1a996b7149b (patch) | |
tree | 6bbb01cc945f2d07bce286434706670180ff6873 | |
parent | 52a28df7da3a08227d3d85fd0352c2cf2f7871e3 (diff) |
patch from Viresh fixing serial issue with preempt-rt kernelsamsung-lt-lng-v3.10-1
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r-- | drivers/tty/serial/samsung.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index 0c8a9fa2be6c..e1687ece5802 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -249,6 +249,7 @@ 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 +298,10 @@ 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; } |