Commit db002b85 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Fix 4417/1: Serial: Fix AMBA drivers locking

2389b272 contains a merge bug; fix it.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 0e5f82dd
...@@ -167,9 +167,9 @@ static void pl010_rx_chars(struct uart_amba_port *uap) ...@@ -167,9 +167,9 @@ static void pl010_rx_chars(struct uart_amba_port *uap)
ignore_char: ignore_char:
status = readb(uap->port.membase + UART01x_FR); status = readb(uap->port.membase + UART01x_FR);
} }
spin_unlock(&port->lock); spin_unlock(&uap->port.lock);
tty_flip_buffer_push(tty); tty_flip_buffer_push(tty);
spin_lock(&port->lock); spin_lock(&uap->port.lock);
} }
static void pl010_tx_chars(struct uart_amba_port *uap) static void pl010_tx_chars(struct uart_amba_port *uap)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment