diff options
author | Huang Shijie <b32955@freescale.com> | 2012-11-22 11:06:30 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-27 03:38:44 +0400 |
commit | d7ffb9329012a517575e4c4d49480b6ce0d1529e (patch) | |
tree | 6a1064c8981f1ab66086ab4fc843946d754fbdfd /drivers/tty/serial/ifx6x60.c | |
parent | a5919442bc61846e36011671df0d67c72275337e (diff) | |
download | linux-d7ffb9329012a517575e4c4d49480b6ce0d1529e.tar.xz |
serial: mxs-auart: unmap the scatter list before we copy the data
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>
Diffstat (limited to 'drivers/tty/serial/ifx6x60.c')
0 files changed, 0 insertions, 0 deletions