diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-16 15:12:58 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-16 15:12:58 -0500 |
commit | 3be4bb06b53df2c0a760eeaa5f53448faddedfca (patch) | |
tree | 67dc02f39e48a8a37d8f3e4a38422d86f5164820 /drivers/serial/sa1100.c | |
parent | 85d6162d6cea9220e483989817eac0cebc03070e (diff) | |
parent | 7bdd720869ff75700b48b132ee71852615b55808 (diff) | |
download | kernel-crypto-3be4bb06b53df2c0a760eeaa5f53448faddedfca.tar.gz kernel-crypto-3be4bb06b53df2c0a760eeaa5f53448faddedfca.tar.xz kernel-crypto-3be4bb06b53df2c0a760eeaa5f53448faddedfca.zip |
Merge branch 'upstream-fixes'
Diffstat (limited to 'drivers/serial/sa1100.c')
-rw-r--r-- | drivers/serial/sa1100.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/serial/sa1100.c b/drivers/serial/sa1100.c index fd9deee20e0..0e3daf6d7b5 100644 --- a/drivers/serial/sa1100.c +++ b/drivers/serial/sa1100.c @@ -156,7 +156,7 @@ static void sa1100_stop_tx(struct uart_port *port) } /* - * interrupts may not be disabled on entry + * port locked and interrupts disabled */ static void sa1100_start_tx(struct uart_port *port) { @@ -164,11 +164,9 @@ static void sa1100_start_tx(struct uart_port *port) unsigned long flags; u32 utcr3; - spin_lock_irqsave(&sport->port.lock, flags); utcr3 = UART_GET_UTCR3(sport); sport->port.read_status_mask |= UTSR0_TO_SM(UTSR0_TFS); UART_PUT_UTCR3(sport, utcr3 | UTCR3_TIE); - spin_unlock_irqrestore(&sport->port.lock, flags); } /* |