Commit 56dde68f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Revert "serial: 8250: 8250_omap: Fix possible interrupt storm"

This reverts commit 31fae7c8.

Tony writes:
	I just noticed this causes the following regression in Linux
	next when pressing a key on uart console after boot at least on
	omap3. This seems to happen on serial_port_in(port, UART_RX) in
	the quirk handling.

So let's drop this.

Fixes: 31fae7c8

 ("serial: 8250: 8250_omap: Fix possible interrupt storm")
Reported-by: default avatarTony Lindgren <>
Cc: Jan Kiszka <>
Cc: Vignesh Raghavendra <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 9808f9be
......@@ -104,9 +104,6 @@
#define UART_OMAP_EFR2 0x23
/* RX FIFO occupancy indicator */
#define UART_OMAP_RX_LVL 0x64
struct omap8250_priv {
int line;
u8 habit;
......@@ -628,15 +625,6 @@ static irqreturn_t omap8250_irq(int irq, void *dev_id)
iir = serial_port_in(port, UART_IIR);
ret = serial8250_handle_irq(port, iir);
* It is possible that RX TIMEOUT is signalled after FIFO
* has been drained, in which case a dummy read of RX FIFO is
* required to clear RX TIMEOUT condition.
if (serial_port_in(port, UART_OMAP_RX_LVL) == 0)
serial_port_in(port, UART_RX);
return IRQ_RETVAL(ret);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment