]> git.karo-electronics.de Git - karo-tx-linux.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)
commitffea043965e4634617485b4d313d6c0099d817f0
treeec0b2c3bea4bc880dbbd26c5bf40fca4a460c429
parent51311eaacd2d3558cfa341e97d7ebffb1cc13cd8
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