summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-12-27 11:10:34 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-12-27 11:10:34 +0000
commita710ce08585e920740ffc84c7f3c82f4081169cf (patch)
tree28032138cf7bd4cc903ce51083800df6a46e5dc8 /drivers
parent04333393b930370db0cc29fdf0dbbd08ecd43337 (diff)
downloadop-kernel-dev-a710ce08585e920740ffc84c7f3c82f4081169cf.zip
op-kernel-dev-a710ce08585e920740ffc84c7f3c82f4081169cf.tar.gz
[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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/amba-pl011.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/amba-pl011.c b/drivers/serial/amba-pl011.c
index 89d7bd3..d84476e 100644
--- a/drivers/serial/amba-pl011.c
+++ b/drivers/serial/amba-pl011.c
@@ -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);
OpenPOWER on IntegriCloud