drivers/char: pl011: Enable receive timeout interrupt

The commit 874f76a "PL011: fix reverse logic for interrupt mask register"
introduced regression on the Versatile Express. The board didn't receive
correctly input.

The timeout interrupt may be asserted when the FIFO is not empty, and no futher
data is received over a 32-bit period.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Julien Grall authored and Ian Campbell committed 2013-08-27 14:25:43 +01:00
1 parent e15c09f90c
commit 1c413bf7f2
1 file changed
+1 -1
+1 -1
View File
@@ -140,7 +140,7 @@ static void __init pl011_init_postirq(struct serial_port *port)
pl011_write(uart, ICR, OEI|BEI|PEI|FEI);
/* Unmask interrupts */
pl011_write(uart, IMSC, OEI|BEI|PEI|FEI|TXI|RXI);
pl011_write(uart, IMSC, RTI|OEI|BEI|PEI|FEI|TXI|RXI);
}
static void pl011_suspend(struct serial_port *port)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.