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

[SERIAL] Fix AMBA PL011 sysrq character handling

We only want the received character without the status bits for
sysrq handling.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 04333393
...@@ -160,7 +160,7 @@ pl011_rx_chars(struct uart_amba_port *uap) ...@@ -160,7 +160,7 @@ pl011_rx_chars(struct uart_amba_port *uap)
flag = TTY_FRAME; flag = TTY_FRAME;
} }
if (uart_handle_sysrq_char(&uap->port, ch, regs)) if (uart_handle_sysrq_char(&uap->port, ch & 255, regs))
goto ignore_char; goto ignore_char;
uart_insert_char(&uap->port, ch, UART011_DR_OE, ch, flag); uart_insert_char(&uap->port, ch, UART011_DR_OE, ch, flag);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册