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:
a591944
)
serial: mxs-auart: unmap the scatter list before we copy the data
author
Huang Shijie
<b32955@freescale.com>
Thu, 22 Nov 2012 07:06:30 +0000
(15:06 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 23:38:44 +0000
(15:38 -0800)
We should first unmap the DMA scatter list for receiving data, and
then copy the data from the DMA buffer.
The old code misses unmap the scatter list for RX. This patch fixes it.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Tested-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found