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:
bb3ecd9
)
tty/serial: pmac_zilog: Don't check port->sysrq
author
Dmitry Safonov
<dima@arista.com>
Fri, 13 Dec 2019 00:06:29 +0000
(
00:06
+0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:04:56 +0000
(15:04 +0100)
uart_handle_sysrq_char() already handles it.
Signed-off-by: Dmitry Safonov <dima@arista.com>
Link:
https://lore.kernel.org/r/20191213000657.931618-31-dima@arista.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/pch_uart.c
b/drivers/tty/serial/pch_uart.c
index
c625bf7
..
0a96217
100644
(file)
--- a/
drivers/tty/serial/pch_uart.c
+++ b/
drivers/tty/serial/pch_uart.c
@@
-584,10
+584,8
@@
static int pch_uart_hal_read(struct eg20t_port *priv, unsigned char *buf,
if (uart_handle_break(port))
continue;
}
- if (port->sysrq) {
- if (uart_handle_sysrq_char(port, rbr))
- continue;
- }
+ if (uart_handle_sysrq_char(port, rbr))
+ continue;
buf[i++] = rbr;
}