ARM: PL011: Separate hardware FIFO size from TTY FIFO size
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Dec 2010 17:13:05 +0000 (17:13 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 5 Jan 2011 16:58:45 +0000 (16:58 +0000)
With DMA support, we need to tell the TTY subsystem that the DMA buffer
is the size of the FIFO, otherwise things like tty_wait_until_sent()
will time out too early.  Keep (and use) the hardware value separately
from the port->fifosize.

This was part of a larger patch from Linus Walleij, with a little
modification.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found