]> git.karo-electronics.de Git - linux-beck.git/commit
serial: 8250_fintek: Set maximum FIFO of F81216H
authorJi-Ze Hong (Peter Hong) <hpeter@gmail.com>
Tue, 4 Oct 2016 08:28:01 +0000 (16:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Oct 2016 14:28:16 +0000 (16:28 +0200)
commitc2236facaec9e4bdd3b350a6a54d29440a234a04
tree4f22ae3384fe76b6344c0ad1fc79ab3d9c046a51
parent06e3957259ef9003061c3c153232266ab8967e34
serial: 8250_fintek: Set maximum FIFO of F81216H

The Fintek F81216H had maximum 128Bytes FIFO, but some BIOS configurated
as normal 16Bytes FIFO. This patch will set 128Bytes FIFO and trigger
level multiplier as 4x when F81216H detected.

Default 16550A trigger level is 8Bytes. When this patch applied, the
trigger level will change to 8Byte x 4 = 32Byte. It can be reduce the RX
incoming interrupts.

Suggested-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_fintek.c