Skip to content

Commit

Permalink
[SERIAL] Fix AMBA PL011 sysrq character handling
Browse files Browse the repository at this point in the history
We only want the received character without the status bits for
sysrq handling.

Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Russell King authored and Russell King committed Dec 27, 2005
1 parent 0433339 commit a710ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/amba-pl011.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a710ce0

Please sign in to comment.