提交 db002b85 编写于 作者: R Russell King 提交者: Russell King

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

2389b272 contains a merge bug; fix it.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 0e5f82dd
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册