tty/serial: mpc52xx_uart: Don't zero port->sysrq
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ba4508db5b
commit
7cbfd6a023
@@ -1378,10 +1378,8 @@ mpc52xx_uart_int_rx_chars(struct uart_port *port)
|
|||||||
ch = psc_ops->read_char(port);
|
ch = psc_ops->read_char(port);
|
||||||
|
|
||||||
/* Handle sysreq char */
|
/* Handle sysreq char */
|
||||||
if (uart_handle_sysrq_char(port, ch)) {
|
if (uart_handle_sysrq_char(port, ch))
|
||||||
port->sysrq = 0;
|
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
/* Store it */
|
/* Store it */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user