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:
Родитель
ba4508db5b
Коммит
7cbfd6a023
|
@ -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 */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче