| .. | .. |
|---|
| 60 | 60 | |
|---|
| 61 | 61 | /* Stop processing interrupts on input overrun */ |
|---|
| 62 | 62 | if ((orig_lsr & UART_LSR_OE) && (up->overrun_backoff_time_ms > 0)) { |
|---|
| 63 | | - unsigned int ca_flags; |
|---|
| 64 | 63 | unsigned long delay; |
|---|
| 65 | | - bool is_console; |
|---|
| 66 | 64 | |
|---|
| 67 | | - is_console = uart_console(port); |
|---|
| 68 | | - |
|---|
| 69 | | - if (is_console) |
|---|
| 70 | | - console_atomic_lock(&ca_flags); |
|---|
| 71 | 65 | up->ier = port->serial_in(port, UART_IER); |
|---|
| 72 | | - if (is_console) |
|---|
| 73 | | - console_atomic_unlock(ca_flags); |
|---|
| 74 | | - |
|---|
| 75 | 66 | if (up->ier & (UART_IER_RLSI | UART_IER_RDI)) { |
|---|
| 76 | 67 | port->ops->stop_rx(port); |
|---|
| 77 | 68 | } else { |
|---|