mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[SERIAL] Fix AMBA PL011 sysrq character handling
We only want the received character without the status bits for sysrq handling. Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
04333393b9
commit
a710ce0858
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ pl011_rx_chars(struct uart_amba_port *uap)
|
|||
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;
|
||||
|
||||
uart_insert_char(&uap->port, ch, UART011_DR_OE, ch, flag);
|
||||
|
|
|
|||
Loading…
Reference in a new issue