]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250: Revert "tty: serial: 8250_core: read only RX if there is something...
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Sun, 15 Feb 2015 17:32:16 +0000 (18:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:06:51 +0000 (03:06 +0100)
commita722dec72d10fb1e64d3a1458e4c4433588f3706
treea97a7cf075bde126a791c852d85a34709f527148
parent4edba1747f894094c668fb209874e26a29a182c9
serial: 8250: Revert "tty: serial: 8250_core: read only RX if there is something in the FIFO"

This reverts commit a7bab22f2adc48e42c8fd524bafe21679c81b5ce.

The conditional RX-FIFO read seems to cause spurious interrupts and we
see just:
|serial8250: too much work for irq29

The previous behaviour was "default" for decades and Marvell's 88f6282 SoC
might not be the only that relies on it. Therefore the Omap fix is
reverted for now.

Fixes: a7bab22f2adc ("tty: serial: 8250_core: read only RX if there is
something in the FIFO")
Reported-By: Nicolas Schichan <nschichan@freebox.fr>
Debuged-By: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c