git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce43e5
)
serial: imx: fix the wrong number of scatterlist entries when xmit->head is 0
author
Huang Shijie
<b32955@freescale.com>
Fri, 11 Oct 2013 10:31:00 +0000
(18:31 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 20:19:54 +0000
(13:19 -0700)
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>
No differences found