commit | ed9891bf093638fad29f89c10b536550d29b129d | [log] [tgz] |
---|---|---|
author | Stefan Agner <stefan@agner.ch> | Wed Jul 02 18:02:57 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jul 10 16:03:59 2014 -0700 |
tree | 60c0c56e9c3b936351ac3befb15fc025275e4389 | |
parent | 90abef91c5974d3d4845d64fd75a319fb20f6e6b [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>