Huang Shijie 947c74eba8 serial: imx: fix the wrong number of scatterlist entries when xmit->head is 0
When the (xmit->tail > xmit->head) is true and the xmit->head is 0,
we only need one DMA scatterlist in actually. Current code uses two DMA
scatterlists in this case, this is obviously wrong.

This patch fixes it.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-16 13:19:54 -07:00
..
2013-10-06 17:28:16 -07:00
2013-03-18 16:24:29 -07:00
2013-02-06 11:10:17 -08:00
2013-03-18 16:24:29 -07:00
2013-10-16 13:08:16 -07:00
2013-07-24 15:12:53 -07:00
2013-05-20 12:15:59 -07:00