Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a710ce08 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[SERIAL] Fix AMBA PL011 sysrq character handling



We only want the received character without the status bits for
sysrq handling.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 04333393
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);