Skip to content

Commit

Permalink
[ARM] Fix 4417/1: Serial: Fix AMBA drivers locking
Browse files Browse the repository at this point in the history
2389b27 contains a merge bug; fix it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Jun 5, 2007
1 parent 0e5f82d commit db002b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/serial/amba-pl010.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ static void pl010_rx_chars(struct uart_amba_port *uap)
ignore_char:
status = readb(uap->port.membase + UART01x_FR);
}
spin_unlock(&port->lock);
spin_unlock(&uap->port.lock);
tty_flip_buffer_push(tty);
spin_lock(&port->lock);
spin_lock(&uap->port.lock);
}

static void pl010_tx_chars(struct uart_amba_port *uap)
Expand Down

0 comments on commit db002b8

Please sign in to comment.