projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba4508d
)
tty/serial: mpc52xx_uart: Don't zero port->sysrq
author
Dmitry Safonov
<dima@arista.com>
Fri, 13 Dec 2019 00:06:23 +0000
(
00:06
+0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:04:52 +0000
(15:04 +0100)
uart_handle_sysrq_char() already does it.
Signed-off-by: Dmitry Safonov <dima@arista.com>
Link:
https://lore.kernel.org/r/20191213000657.931618-25-dima@arista.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mpc52xx_uart.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/mpc52xx_uart.c
b/drivers/tty/serial/mpc52xx_uart.c
index
ba1fddb
..
af17004
100644
(file)
--- a/
drivers/tty/serial/mpc52xx_uart.c
+++ b/
drivers/tty/serial/mpc52xx_uart.c
@@
-1378,10
+1378,8
@@
mpc52xx_uart_int_rx_chars(struct uart_port *port)
ch = psc_ops->read_char(port);
/* Handle sysreq char */
- if (uart_handle_sysrq_char(port, ch)) {
- port->sysrq = 0;
+ if (uart_handle_sysrq_char(port, ch))
continue;
- }
/* Store it */