]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: PL011: add support for extended FIFO-size of PL011-r1p5
authorJongsung Kim <neidhard.kim@lge.com>
Mon, 15 Apr 2013 05:45:25 +0000 (14:45 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2013 17:15:21 +0000 (10:15 -0700)
commit057f7b8b49b054bbe35bbdec736d62478de35f0f
tree2572d757916ebbf88fa9a9b1a6e9ae8c2136de65
parentaa92cd02455ff5479a3988f1f5ccc55499313de2
ARM: PL011: add support for extended FIFO-size of PL011-r1p5

The latest r1p5-revision of the ARM PL011 UART has 32-byte FIFOs,
while all earlier ones have 16-byte FIFOs. This patch suggests
a way to set the FIFO-size correctly & flexibly by using a member
function named get_fifosize, rather than using the fifosize member
variable. The function takes the UARTPeriphID, and returns the
correct FIFO size.

Signed-off-by: Jongsung Kim <neidhard.kim@lge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c