]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250: of: Load TX FIFO Threshold from DT
authorThor Thayer <tthayer@opensource.altera.com>
Thu, 22 Sep 2016 19:56:15 +0000 (14:56 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Sep 2016 10:55:49 +0000 (12:55 +0200)
commit07c48ae0075963a008fc91a996e8f49b1a0f8f66
treeec0b2c3bea4bc880dbbd26c5bf40fca4a460c429
parent888647cbbab858cc7901dc6716cc29b71e58aef9
serial: 8250: of: Load TX FIFO Threshold from DT

Initialize the tx_loadsz parameter from passed in devicetree
tx-threshold parameter.
The tx_loadsz is calculated as the number of bytes to fill FIFO
when tx-threshold is triggered.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_of.c