From ed9891bf093638fad29f89c10b536550d29b129d Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 2 Jul 2014 18:02:57 +0200 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed