aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2014-07-02 18:02:57 +0200
committerGreg Kroah-Hartman <[email protected]>2014-07-10 16:03:59 -0700
commited9891bf093638fad29f89c10b536550d29b129d (patch)
tree60c0c56e9c3b936351ac3befb15fc025275e4389 /lib/test-string_helpers.c
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions