aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-23 05:02:59 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-23 05:02:59 -0400
commit0858d9c0c591ce9baa1baf72eaf6f67823f3bc25 (patch)
tree1ea697a8e34ff1784572db22bcb5c9da7bbfb40c /drivers/serial
parent9d7302299ee96ca954fe4ab8ca640333b6e19ad0 (diff)
parent963e04cafbf001ec431025a46ec246ae6d89daba (diff)
Merge branch 'sh/hwblk' into sh/pm-runtime
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/sh-sci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c
index 8e2feb56334..4cbb87ad070 100644
--- a/drivers/serial/sh-sci.c
+++ b/drivers/serial/sh-sci.c
@@ -662,10 +662,11 @@ static irqreturn_t sci_rx_interrupt(int irq, void *port)
662static irqreturn_t sci_tx_interrupt(int irq, void *ptr) 662static irqreturn_t sci_tx_interrupt(int irq, void *ptr)
663{ 663{
664 struct uart_port *port = ptr; 664 struct uart_port *port = ptr;
665 unsigned long flags;
665 666
666 spin_lock_irq(&port->lock); 667 spin_lock_irqsave(&port->lock, flags);
667 sci_transmit_chars(port); 668 sci_transmit_chars(port);
668 spin_unlock_irq(&port->lock); 669 spin_unlock_irqrestore(&port->lock, flags);
669 670
670 return IRQ_HANDLED; 671 return IRQ_HANDLED;
671} 672}