]> 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)
commit62e89dc18eab921c4f2ec07ccba8f1dad3ffb286
treea97a7cf075bde126a791c852d85a34709f527148
parentbce49fcb6ef894679ba4cb733d57461455937aa7
serial: 8250: Revert "tty: serial: 8250_core: read only RX if there is something in the FIFO"

This reverts commit 85d658e983cddcc20d80f7b785d111384c9b86cb.

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: 85d658e983cd ("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