]> git.karo-electronics.de Git - linux-beck.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)
commit78506f223a7bb7d47b1772592932921689adc6d8
tree2572d757916ebbf88fa9a9b1a6e9ae8c2136de65
parent5a65dcc04cda41f4122aacc37a5a348454645399
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