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-03-18 16:17:20 -07:00
2013-01-15 22:30:15 -08:00
2013-09-06 13:26:27 -07:00
2013-09-06 13:26:27 -07:00
2013-07-31 17:56:15 -07:00
2013-10-16 13:08:16 -07:00
2013-03-18 16:26:33 -07:00
2013-03-18 16:26:33 -07:00
2013-01-15 22:30:15 -08:00
2013-01-15 22:30:15 -08:00
2013-10-16 13:08:16 -07:00
2013-10-16 13:08:16 -07:00
2013-07-31 17:56:15 -07:00
2013-07-31 17:56:15 -07:00
2013-01-15 22:30:15 -08:00
2013-08-12 11:10:16 -07:00
2013-07-31 17:56:15 -07:00
2013-01-15 22:30:15 -08:00
2013-10-16 13:08:16 -07:00
2013-10-16 13:08:16 -07:00
2013-10-16 13:08:16 -07:00
2013-10-16 13:08:16 -07:00
2013-07-31 17:56:15 -07:00
2013-07-02 13:43:38 -07:00
2013-01-15 22:30:15 -08:00