summaryrefslogtreecommitdiff
path: root/include/linux/tty_driver.h
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2014-07-02 18:02:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-10 16:03:59 -0700
commited9891bf093638fad29f89c10b536550d29b129d (patch)
tree60c0c56e9c3b936351ac3befb15fc025275e4389 /include/linux/tty_driver.h
parent90abef91c5974d3d4845d64fd75a319fb20f6e6b (diff)
serial: fsl_lpuart: calculate DMA burst
The DMA burst size must match the transmit FIFO depth in order to make sure all character are transmitted. This patch calculates DMA burst size by using FIFO depth rather than use the hardcoded 16 bytes. This is required since some UARTs (e.g. UART2 on Vybrid) have a FIFO depth of 8 bytes. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty_driver.h')
0 files changed, 0 insertions, 0 deletions