forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/drivers/tty/serial/8250/8250_fsl.c
....@@ -60,18 +60,9 @@
6060
6161 /* Stop processing interrupts on input overrun */
6262 if ((orig_lsr & UART_LSR_OE) && (up->overrun_backoff_time_ms > 0)) {
63
- unsigned int ca_flags;
6463 unsigned long delay;
65
- bool is_console;
6664
67
- is_console = uart_console(port);
68
-
69
- if (is_console)
70
- console_atomic_lock(&ca_flags);
7165 up->ier = port->serial_in(port, UART_IER);
72
- if (is_console)
73
- console_atomic_unlock(ca_flags);
74
-
7566 if (up->ier & (UART_IER_RLSI | UART_IER_RDI)) {
7667 port->ops->stop_rx(port);
7768 } else {