Messages in this thread Patch in this message | | | From | Dmitry Safonov <> | Subject | [PATCH 24/58] tty/serial: Don't zero port->sysrq | Date | Fri, 13 Dec 2019 00:06:23 +0000 |
| |
uart_handle_sysrq_char() already does it.
Signed-off-by: Dmitry Safonov <dima@arista.com> --- drivers/tty/serial/mpc52xx_uart.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index ba1fddb6801c..af1700445251 100644 --- 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 */ -- 2.24.0
| |