Home Home > GIT Browse > openSUSE-15.0
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-07-16 16:19:33 +0200
committerTakashi Iwai <tiwai@suse.de>2019-07-16 16:19:49 +0200
commitcd1955f81326f5ac8628373d6b6926c7c131f908 (patch)
tree3c32cd15e2e80990ce19acd4cef3cf1973502c12
parent21d0bca1d63cd39b8fc73a020ffcbd91784fbdca (diff)
Revert "serial: 8250: Don't service RX FIFO if interrupts are
disabled" (bsc#1051510). suse-commit: 65242c8a9e12c0456b24970402cd2e765c4c6d6d
-rw-r--r--drivers/tty/serial/8250/8250_port.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c
index e025ca63d8e3..b4460d4da3aa 100644
--- a/drivers/tty/serial/8250/8250_port.c
+++ b/drivers/tty/serial/8250/8250_port.c
@@ -1831,8 +1831,7 @@ int serial8250_handle_irq(struct uart_port *port, unsigned int iir)
status = serial_port_in(port, UART_LSR);
- if (status & (UART_LSR_DR | UART_LSR_BI) &&
- iir & UART_IIR_RDI) {
+ if (status & (UART_LSR_DR | UART_LSR_BI)) {
if (!up->dma || handle_rx_dma(up, iir))
status = serial8250_rx_chars(up, status);
}